#5F7D1D#5F7D1D
#5F7D1D is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.125 H 125.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7D1D |
|---|---|
| RGB | rgb(95, 125, 29) |
| HSL | hsl(79, 62%, 30%) |
| HSV | hsv(79, 77%, 49%) |
| CMYK | cmyk(24%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(48.50, -25.27, 45.65) |
| CIE-LCH | lch(48.50, 52.18, 118.97°) |
| OKLab | oklab(54.74% -0.0731 0.1015) |
| OKLCH | oklch(54.74% 0.125 125.7) |
| XYZ | xyz(12.2748, 17.1887, 3.8332) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.17
Avocado
#568203
ΔE00 3.18
Olive Green
#677A04
ΔE00 3.79
Swamp
#698339
ΔE00 4.28
Murky Green
#6C7A0E
ΔE00 4.55
Mossy Green
#638B27
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7D1D #3B1D7D
analogous
#7D6B1D #5F7D1D #2F7D1D
triadic
#5F7D1D #1D5F7D #7D1D5F
tetradic
#5F7D1D #1D7D6B #3B1D7D #7D1D2F
square
#5F7D1D #1D7D6B #3B1D7D #7D1D2F
split-complementary
#5F7D1D #1D2F7D #6B1D7D
monochromatic
#131A06 #394B11 #5F7D1D #85AF29 #A6D341
Accessibility & contrast
On white
4.73
#5F7D1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5F7D1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7D1D
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7D1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7D1D | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847409
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#63776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5f7d1d; /* rgb */ color: rgb(95, 125, 29); /* oklch */ color: oklch(54.7% 0.125 125.7);
Tailwind
colors: {
custom: {
50: '#90a261',
500: '#5f7d1d',
950: '#000000',
},
}SCSS
$custom: #5f7d1d; $custom-light: #90a261; $custom-dark: #000000;
JSON
{
"hex": "#5f7d1d",
"rgb": {
"r": 95,
"g": 125,
"b": 29
},
"hsl": {
"h": 78.75,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.54743,
"c": 0.12507,
"h": 125.7
},
"luminance": 0.17189
}Semantic roles & 50–950 ramp
primary
#5F7D1D
secondary
#6745B1
accent
#42E575
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79