#5F7C14#5F7C14
#5F7C14 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.129 H 124.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7C14 |
|---|---|
| RGB | rgb(95, 124, 20) |
| HSL | hsl(77, 72%, 28%) |
| HSV | hsv(77, 84%, 49%) |
| CMYK | cmyk(23.4%, 0%, 83.9%, 51.4%) |
| CIE-LAB | lab(48.13, -25.23, 48.29) |
| CIE-LCH | lch(48.13, 54.48, 117.58°) |
| OKLab | oklab(54.43% -0.0736 0.1055) |
| OKLCH | oklch(54.43% 0.129 124.9) |
| XYZ | xyz(12.0534, 16.8986, 3.2884) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.92
Olive Green
#677A04
ΔE00 2.94
Avocado
#568203
ΔE00 3.18
Murky Green
#6C7A0E
ΔE00 3.89
Poop Green
#6F7C00
ΔE00 4.82
Swamp
#698339
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7C14 #31147C
analogous
#7C6514 #5F7C14 #2B7C14
triadic
#5F7C14 #145F7C #7C145F
tetradic
#5F7C14 #147C65 #31147C #7C142B
square
#5F7C14 #147C65 #31147C #7C142B
split-complementary
#5F7C14 #142B7C #65147C
monochromatic
#141A04 #37470B #5F7C14 #87B11D #ACDD2D
Accessibility & contrast
On white
4.79
#5F7C14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#5F7C14 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7C14
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7C14 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7C14 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#647669
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f7c14; /* rgb */ color: rgb(95, 124, 20); /* oklch */ color: oklch(54.4% 0.129 124.9);
Tailwind
colors: {
custom: {
50: '#90a25d',
500: '#5f7c14',
950: '#000000',
},
}SCSS
$custom: #5f7c14; $custom-light: #90a25d; $custom-dark: #000000;
JSON
{
"hex": "#5f7c14",
"rgb": {
"r": 95,
"g": 124,
"b": 20
},
"hsl": {
"h": 76.731,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.54432,
"c": 0.12867,
"h": 124.9
},
"luminance": 0.16899
}Semantic roles & 50–950 ramp
primary
#5F7C14
secondary
#5C3AB2
accent
#39EF6C
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79