#5F7E14#5F7E14
#5F7E14 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.9% C 0.131 H 125.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7E14 |
|---|---|
| RGB | rgb(95, 126, 20) |
| HSL | hsl(78, 73%, 29%) |
| HSV | hsv(78, 84%, 49%) |
| CMYK | cmyk(24.6%, 0%, 84.1%, 50.6%) |
| CIE-LAB | lab(48.77, -26.21, 48.85) |
| CIE-LCH | lch(48.77, 55.44, 118.22°) |
| OKLab | oklab(54.95% -0.0763 0.1067) |
| OKLCH | oklch(54.95% 0.131 125.6) |
| XYZ | xyz(12.3065, 17.4049, 3.3728) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.56
Dirty Green
#667E2C
ΔE00 2.96
Olive Green
#677A04
ΔE00 3.33
Murky Green
#6C7A0E
ΔE00 4.26
Sap Green
#5C8B15
ΔE00 4.95
Swamp
#698339
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7E14 #33147E
analogous
#7E6814 #5F7E14 #2A7E14
triadic
#5F7E14 #145F7E #7E145F
tetradic
#5F7E14 #147E68 #33147E #7E142A
square
#5F7E14 #147E68 #33147E #7E142A
split-complementary
#5F7E14 #142A7E #68147E
monochromatic
#141A04 #37490C #5F7E14 #87B31C #ABDE2E
Accessibility & contrast
On white
4.69
#5F7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5F7E14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7E14
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7E14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7E14 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f7e14; /* rgb */ color: rgb(95, 126, 20); /* oklch */ color: oklch(54.9% 0.131 125.6);
Tailwind
colors: {
custom: {
50: '#90a35d',
500: '#5f7e14',
950: '#000000',
},
}SCSS
$custom: #5f7e14; $custom-light: #90a35d; $custom-dark: #000000;
JSON
{
"hex": "#5f7e14",
"rgb": {
"r": 95,
"g": 126,
"b": 20
},
"hsl": {
"h": 77.547,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.54947,
"c": 0.1312,
"h": 125.6
},
"luminance": 0.17405
}Semantic roles & 50–950 ramp
primary
#5F7E14
secondary
#5E3AB3
accent
#38EF6E
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79