#5F8F19#5F8F19
#5F8F19 is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.150 H 130.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5F8F19 |
|---|---|
| RGB | rgb(95, 143, 25) |
| HSL | hsl(84, 70%, 33%) |
| HSV | hsv(84, 83%, 56%) |
| CMYK | cmyk(33.6%, 0%, 82.5%, 43.9%) |
| CIE-LAB | lab(54.18, -34.02, 52.27) |
| CIE-LCH | lch(54.18, 62.37, 123.06°) |
| OKLab | oklab(59.36% -0.0971 0.1148) |
| OKLCH | oklch(59.36% 0.15 130.2) |
| XYZ | xyz(14.7172, 22.1475, 4.4190) |
| Luminance | 0.2215 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 1.43
Mossy Green
#638B27
ΔE00 2.16
Olivedrab
#6B8E23
ΔE00 2.34
Moss Green (survey)
#658B38
ΔE00 4.26
Dark Yellow Green
#728F02
ΔE00 4.72
Avocado
#568203
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F8F19 #49198F
analogous
#8F8419 #5F8F19 #248F19
triadic
#5F8F19 #195F8F #8F195F
tetradic
#5F8F19 #198F84 #49198F #8F1924
square
#5F8F19 #198F84 #49198F #8F1924
split-complementary
#5F8F19 #19248F #84198F
monochromatic
#1A2707 #3C5B10 #5F8F19 #82C322 #A0DE44
Accessibility & contrast
On white
3.87
#5F8F19 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.43
#5F8F19 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F8F19
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F8F19 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F8F19 | 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)
#62887A
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #5f8f19; /* rgb */ color: rgb(95, 143, 25); /* oklch */ color: oklch(59.4% 0.150 130.2);
Tailwind
colors: {
custom: {
50: '#91b062',
500: '#5f8f19',
950: '#000000',
},
}SCSS
$custom: #5f8f19; $custom-light: #91b062; $custom-dark: #000000;
JSON
{
"hex": "#5f8f19",
"rgb": {
"r": 95,
"g": 143,
"b": 25
},
"hsl": {
"h": 84.407,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.5936,
"c": 0.15035,
"h": 130.2
},
"luminance": 0.22148
}Semantic roles & 50–950 ramp
primary
#5F8F19
secondary
#7644BF
accent
#3BED83
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D1006
muted
#7E7F7A