#5F7C17#5F7C17
#5F7C17 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.127 H 125.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7C17 |
|---|---|
| RGB | rgb(95, 124, 23) |
| HSL | hsl(77, 69%, 29%) |
| HSV | hsv(77, 81%, 49%) |
| CMYK | cmyk(23.4%, 0%, 81.5%, 51.4%) |
| CIE-LAB | lab(48.15, -25.09, 47.38) |
| CIE-LCH | lch(48.15, 53.62, 117.90°) |
| OKLab | oklab(54.45% -0.0731 0.1041) |
| OKLCH | oklch(54.45% 0.127 125.1) |
| XYZ | xyz(12.0817, 16.9099, 3.4379) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.68
Olive Green
#677A04
ΔE00 3.15
Avocado
#568203
ΔE00 3.24
Murky Green
#6C7A0E
ΔE00 4.03
Swamp
#698339
ΔE00 4.94
Poop Green
#6F7C00
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7C17 #34177C
analogous
#7C6717 #5F7C17 #2D7C17
triadic
#5F7C17 #175F7C #7C175F
tetradic
#5F7C17 #177C67 #34177C #7C172D
square
#5F7C17 #177C67 #34177C #7C172D
split-complementary
#5F7C17 #172D7C #67177C
monochromatic
#141A05 #37480D #5F7C17 #87B021 #AAD934
Accessibility & contrast
On white
4.79
#5F7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#5F7C17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7C17
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7C17 | 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)
#7F7222
Tritanopia (blue-blind)
#647669
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #5f7c17; /* rgb */ color: rgb(95, 124, 23); /* oklch */ color: oklch(54.4% 0.127 125.1);
Tailwind
colors: {
custom: {
50: '#90a25e',
500: '#5f7c17',
950: '#000000',
},
}SCSS
$custom: #5f7c17; $custom-light: #90a25e; $custom-dark: #000000;
JSON
{
"hex": "#5f7c17",
"rgb": {
"r": 95,
"g": 124,
"b": 23
},
"hsl": {
"h": 77.228,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.54448,
"c": 0.12719,
"h": 125.1
},
"luminance": 0.1691
}Semantic roles & 50–950 ramp
primary
#5F7C17
secondary
#5F3EB1
accent
#3CEC6F
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0F05
muted
#7E7E79