#5F7618#5F7618
#5F7618 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.119 H 122.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7618 |
|---|---|
| RGB | rgb(95, 118, 24) |
| HSL | hsl(75, 66%, 28%) |
| HSV | hsv(75, 80%, 46%) |
| CMYK | cmyk(19.5%, 0%, 79.7%, 53.7%) |
| CIE-LAB | lab(46.25, -22.02, 45.30) |
| CIE-LCH | lch(46.25, 50.37, 115.92°) |
| OKLab | oklab(52.92% -0.0646 0.0999) |
| OKLCH | oklch(52.92% 0.119 122.9) |
| XYZ | xyz(11.3628, 15.4557, 3.2486) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Olive Green
#677A04
ΔE00 3.15
Dirty Green
#667E2C
ΔE00 3.58
Murky Green
#6C7A0E
ΔE00 3.79
Muddy Green
#657432
ΔE00 4.21
Olive (survey)
#6E750E
ΔE00 4.77
Poop Green
#6F7C00
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7618 #2F1876
analogous
#765E18 #5F7618 #307618
triadic
#5F7618 #185F76 #76185F
tetradic
#5F7618 #18765E #2F1876 #761830
square
#5F7618 #18765E #2F1876 #761830
split-complementary
#5F7618 #183076 #5E1876
monochromatic
#141905 #36430E #5F7618 #88A922 #AED533
Accessibility & contrast
On white
5.13
#5F7618 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#5F7618 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7618
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7618 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7618 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E01
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f7618; /* rgb */ color: rgb(95, 118, 24); /* oklch */ color: oklch(52.9% 0.119 122.9);
Tailwind
colors: {
custom: {
50: '#8f9d5d',
500: '#5f7618',
950: '#000000',
},
}SCSS
$custom: #5f7618; $custom-light: #8f9d5d; $custom-dark: #000000;
JSON
{
"hex": "#5f7618",
"rgb": {
"r": 95,
"g": 118,
"b": 24
},
"hsl": {
"h": 74.681,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.52917,
"c": 0.11895,
"h": 122.9
},
"luminance": 0.15456
}Semantic roles & 50–950 ramp
primary
#5F7618
secondary
#593FAB
accent
#3FE968
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E05
muted
#7E7E79