Skip to content

#4A5017

≈ darkolivegreen · rgb(74, 80, 23)
Color formats
HEX#4A5017
RGBrgb(74, 80, 23)
HSLhsl(66, 55%, 20%)
HSVhsv(66, 71%, 31%)
OKLCHoklch(41% 0.08 115)
CMYKcmyk(7%, 0%, 71%, 69%)
Contrast & accessibility
On white8.57:1AA pass
On black2.45:1below AA
Best text color#FFFFFF
Nearest CSS name: darkolivegreen
Copy-ready code
CSS custom properties
:root {
  --darkolivegreen: #4a5017;
  --darkolivegreen-rgb: 74 80 23;
  --darkolivegreen-oklch: oklch(41% 0.08 115);
}
The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--darkolivegreen-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#4a5017] text-[#4a5017] border-[#4a5017]
Shades & tints
50
#E8E9DE
100
#D9DCC5
200
#BFC58D
300
#A9B450
400
#7D8630
500
#4A5017
600
#3C4115
700
#2F3312
800
#23250E
900
#17180A
950
#111208
Color harmonies
Complementary
#1D1750
Analogous −30°
#503A17
Analogous +30°
#2D5017
Triadic +120°
#174A50
Triadic −120°
#50174A
About this color

#4A5017 is a color with the RGB value rgb(74, 80, 23). Its closest CSS named color is "darkolivegreen". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.

Related

Convert #4A5017 to other formats

Palettes with a similar color

Gradients with a similar color

✓ Copied