#5F7E15#5F7E15
#5F7E15 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.131 H 125.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7E15 |
|---|---|
| RGB | rgb(95, 126, 21) |
| HSL | hsl(78, 71%, 29%) |
| HSV | hsv(78, 83%, 49%) |
| CMYK | cmyk(24.6%, 0%, 83.3%, 50.6%) |
| CIE-LAB | lab(48.77, -26.17, 48.57) |
| CIE-LCH | lch(48.77, 55.17, 118.32°) |
| OKLab | oklab(54.95% -0.0761 0.1063) |
| OKLCH | oklch(54.95% 0.131 125.6) |
| XYZ | xyz(12.3156, 17.4086, 3.4207) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Avocado
#568203
ΔE00 2.58
Dirty Green
#667E2C
ΔE00 2.88
Olive Green
#677A04
ΔE00 3.39
Murky Green
#6C7A0E
ΔE00 4.29
Swamp
#698339
ΔE00 4.87
Sap Green
#5C8B15
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7E15 #34157E
analogous
#7E6915 #5F7E15 #2B7E15
triadic
#5F7E15 #155F7E #7E155F
tetradic
#5F7E15 #157E69 #34157E #7E152B
square
#5F7E15 #157E69 #34157E #7E152B
split-complementary
#5F7E15 #152B7E #69157E
monochromatic
#141A04 #374A0C #5F7E15 #87B21E #AADD31
Accessibility & contrast
On white
4.69
#5F7E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#5F7E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7E15
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7E15 | 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)
#817321
Tritanopia (blue-blind)
#64786B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f7e15; /* rgb */ color: rgb(95, 126, 21); /* oklch */ color: oklch(55.0% 0.131 125.6);
Tailwind
colors: {
custom: {
50: '#90a35d',
500: '#5f7e15',
950: '#000000',
},
}SCSS
$custom: #5f7e15; $custom-light: #90a35d; $custom-dark: #000000;
JSON
{
"hex": "#5f7e15",
"rgb": {
"r": 95,
"g": 126,
"b": 21
},
"hsl": {
"h": 77.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.54952,
"c": 0.13074,
"h": 125.6
},
"luminance": 0.17409
}Semantic roles & 50–950 ramp
primary
#5F7E15
secondary
#5F3CB3
accent
#3AEE6F
background
#F9FAF5
surface
#F1F3E9
border
#CBCDC5
text
#0D0F05
muted
#7E7F79