#4A6F18#4A6F18
#4A6F18 is a mid, vivid yellow-green. Relative luminance 0.129; OKLCH L 49.6% C 0.121 H 130.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4A6F18 |
|---|---|
| RGB | rgb(74, 111, 24) |
| HSL | hsl(86, 64%, 26%) |
| HSV | hsv(86, 78%, 44%) |
| CMYK | cmyk(33.3%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(42.60, -27.47, 41.34) |
| CIE-LCH | lch(42.60, 49.63, 123.61°) |
| OKLab | oklab(49.59% -0.0781 0.0921) |
| OKLCH | oklch(49.59% 0.121 130.3) |
| XYZ | xyz(8.6733, 12.8904, 2.8951) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.78
Camo Green
#526525
ΔE00 5.19
Camouflage Green
#4B6113
ΔE00 5.25
Muddy Green
#657432
ΔE00 6.35
Army Green
#4B5D16
ΔE00 6.80
Dark Grass Green
#388004
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A6F18 #3D186F
analogous
#6F6918 #4A6F18 #1F6F18
triadic
#4A6F18 #184A6F #6F184A
tetradic
#4A6F18 #186F69 #3D186F #6F181F
square
#4A6F18 #186F69 #3D186F #6F181F
split-complementary
#4A6F18 #181F6F #69186F
monochromatic
#111905 #283D0D #4A6F18 #6CA123 #8DD22F
Accessibility & contrast
On white
5.87
#4A6F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4A6F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A6F18
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A6F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A6F18 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#6F6421
Tritanopia (blue-blind)
#4C6A5E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4a6f18; /* rgb */ color: rgb(74, 111, 24); /* oklch */ color: oklch(49.6% 0.121 130.3);
Tailwind
colors: {
custom: {
50: '#80985c',
500: '#4a6f18',
950: '#000000',
},
}SCSS
$custom: #4a6f18; $custom-light: #80985c; $custom-dark: #000000;
JSON
{
"hex": "#4a6f18",
"rgb": {
"r": 74,
"g": 111,
"b": 24
},
"hsl": {
"h": 85.517,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.49589,
"c": 0.12078,
"h": 130.3
},
"luminance": 0.12891
}Semantic roles & 50–950 ramp
primary
#4A6F18
secondary
#6A3EA5
accent
#40E787
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0A0D04
muted
#7C7E79