#5F8F1A#5F8F1A
#5F8F1A is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.150 H 130.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8F1A |
|---|---|
| RGB | rgb(95, 143, 26) |
| HSL | hsl(85, 69%, 33%) |
| HSV | hsv(85, 82%, 56%) |
| CMYK | cmyk(33.6%, 0%, 81.8%, 43.9%) |
| CIE-LAB | lab(54.19, -33.97, 51.98) |
| CIE-LCH | lch(54.19, 62.10, 123.17°) |
| OKLab | oklab(59.37% -0.0969 0.1143) |
| OKLCH | oklch(59.37% 0.15 130.3) |
| XYZ | xyz(14.7282, 22.1519, 4.4768) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 1.43
Mossy Green
#638B27
ΔE00 2.10
Olivedrab
#6B8E23
ΔE00 2.34
Moss Green (survey)
#658B38
ΔE00 4.18
Dark Yellow Green
#728F02
ΔE00 4.78
Avocado
#568203
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8F1A #4A1A8F
analogous
#8F841A #5F8F1A #258F1A
triadic
#5F8F1A #1A5F8F #8F1A5F
tetradic
#5F8F1A #1A8F84 #4A1A8F #8F1A25
square
#5F8F1A #1A8F84 #4A1A8F #8F1A25
split-complementary
#5F8F1A #1A258F #841A8F
monochromatic
#1A2707 #3D5B11 #5F8F1A #81C323 #9FDD46
Accessibility & contrast
On white
3.87
#5F8F1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5F8F1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8F1A
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8F1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8F1A | 1.00 | 3.87 | 5.43 | 5.43 |
| #FFFFFF | 3.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#61897A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f8f1a; /* rgb */ color: rgb(95, 143, 26); /* oklch */ color: oklch(59.4% 0.150 130.3);
Tailwind
colors: {
custom: {
50: '#91b062',
500: '#5f8f1a',
950: '#000000',
},
}SCSS
$custom: #5f8f1a; $custom-light: #91b062; $custom-dark: #000000;
JSON
{
"hex": "#5f8f1a",
"rgb": {
"r": 95,
"g": 143,
"b": 26
},
"hsl": {
"h": 84.615,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.59365,
"c": 0.14988,
"h": 130.3
},
"luminance": 0.22152
}Semantic roles & 50–950 ramp
primary
#5F8F1A
secondary
#7846BF
accent
#3CEC84
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A