#5F7E1E#5F7E1E
#5F7E1E is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 55.0% C 0.126 H 126.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7E1E |
|---|---|
| RGB | rgb(95, 126, 30) |
| HSL | hsl(79, 62%, 31%) |
| HSV | hsv(79, 76%, 49%) |
| CMYK | cmyk(24.6%, 0%, 76.2%, 50.6%) |
| CIE-LAB | lab(48.82, -25.71, 45.60) |
| CIE-LCH | lch(48.82, 52.34, 119.41°) |
| OKLab | oklab(55.01% -0.0742 0.1016) |
| OKLCH | oklch(55.01% 0.126 126.1) |
| XYZ | xyz(12.4146, 17.4481, 3.9418) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dirty Green
#667E2C
ΔE00 2.15
Avocado
#568203
ΔE00 2.97
Olive Green
#677A04
ΔE00 4.04
Swamp
#698339
ΔE00 4.07
Mossy Green
#638B27
ΔE00 4.75
Murky Green
#6C7A0E
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7E1E #3D1E7E
analogous
#7E6D1E #5F7E1E #2F7E1E
triadic
#5F7E1E #1E5F7E #7E1E5F
tetradic
#5F7E1E #1E7E6D #3D1E7E #7E1E2F
square
#5F7E1E #1E7E6D #3D1E7E #7E1E2F
split-complementary
#5F7E1E #1E2F7E #6D1E7E
monochromatic
#141B06 #3A4D12 #5F7E1E #84AF2A #A4D244
Accessibility & contrast
On white
4.68
#5F7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#5F7E1E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F7E1E
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7E1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F7E1E | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750A
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#63786C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #5f7e1e; /* rgb */ color: rgb(95, 126, 30); /* oklch */ color: oklch(55.0% 0.126 126.1);
Tailwind
colors: {
custom: {
50: '#90a361',
500: '#5f7e1e',
950: '#000000',
},
}SCSS
$custom: #5f7e1e; $custom-light: #90a361; $custom-dark: #000000;
JSON
{
"hex": "#5f7e1e",
"rgb": {
"r": 95,
"g": 126,
"b": 30
},
"hsl": {
"h": 79.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.55007,
"c": 0.12577,
"h": 126.1
},
"luminance": 0.17448
}Semantic roles & 50–950 ramp
primary
#5F7E1E
secondary
#6947B1
accent
#43E577
background
#F9FAF6
surface
#F1F3EB
border
#CBCDC6
text
#0D0F05
muted
#7E7F7A