#5F7D1E#5F7D1E
#5F7D1E is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.8% C 0.124 H 125.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7D1E |
|---|---|
| RGB | rgb(95, 125, 30) |
| HSL | hsl(79, 61%, 30%) |
| HSV | hsv(79, 76%, 49%) |
| CMYK | cmyk(24%, 0%, 76%, 51%) |
| CIE-LAB | lab(48.50, -25.21, 45.29) |
| CIE-LCH | lch(48.50, 51.83, 119.10°) |
| OKLab | oklab(54.75% -0.0728 0.1009) |
| OKLCH | oklch(54.75% 0.124 125.8) |
| XYZ | xyz(12.2873, 17.1937, 3.8994) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.09
Avocado
#568203
ΔE00 3.24
Olive Green
#677A04
ΔE00 3.88
Swamp
#698339
ΔE00 4.19
Murky Green
#6C7A0E
ΔE00 4.62
Mossy Green
#638B27
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7D1E #3C1E7D
analogous
#7D6B1E #5F7D1E #307D1E
triadic
#5F7D1E #1E5F7D #7D1E5F
tetradic
#5F7D1E #1E7D6B #3C1E7D #7D1E30
square
#5F7D1E #1E7D6B #3C1E7D #7D1E30
split-complementary
#5F7D1E #1E307D #6B1E7D
monochromatic
#141A06 #394C12 #5F7D1E #85AE2A #A5D243
Accessibility & contrast
On white
4.73
#5F7D1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#5F7D1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7D1E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7D1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7D1E | 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)
#84740B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#63776B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5f7d1e; /* rgb */ color: rgb(95, 125, 30); /* oklch */ color: oklch(54.8% 0.124 125.8);
Tailwind
colors: {
custom: {
50: '#90a261',
500: '#5f7d1e',
950: '#000000',
},
}SCSS
$custom: #5f7d1e; $custom-light: #90a261; $custom-dark: #000000;
JSON
{
"hex": "#5f7d1e",
"rgb": {
"r": 95,
"g": 125,
"b": 30
},
"hsl": {
"h": 78.947,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.5475,
"c": 0.12444,
"h": 125.8
},
"luminance": 0.17194
}Semantic roles & 50–950 ramp
primary
#5F7D1E
secondary
#6846B0
accent
#43E476
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A