#5F9D18#5F9D18
#5F9D18 is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.0% C 0.168 H 132.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9D18 |
|---|---|
| RGB | rgb(95, 157, 24) |
| HSL | hsl(88, 73%, 35%) |
| HSV | hsv(88, 85%, 62%) |
| CMYK | cmyk(39.5%, 0%, 84.7%, 38.4%) |
| CIE-LAB | lab(58.61, -40.22, 56.51) |
| CIE-LCH | lch(58.61, 69.37, 125.44°) |
| OKLab | oklab(62.98% -0.1138 0.1236) |
| OKLCH | oklch(62.98% 0.168 132.7) |
| XYZ | xyz(16.9409, 26.6120, 5.1080) |
| Luminance | 0.2661 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.16
Grassy Green
#419C03
ΔE00 3.58
Leaf Green
#5CA904
ΔE00 3.84
Grass Green
#3F9B0B
ΔE00 3.92
Leaf
#71AA34
ΔE00 4.61
Grass
#5CAC2D
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9D18 #56189D
analogous
#9D9818 #5F9D18 #1C9D18
triadic
#5F9D18 #185F9D #9D185F
tetradic
#5F9D18 #189D98 #56189D #9D181C
square
#5F9D18 #189D98 #56189D #9D181C
split-complementary
#5F9D18 #181C9D #98189D
monochromatic
#1F3308 #3F6810 #5F9D18 #7FD220 #9DE44C
Accessibility & contrast
On white
3.32
#5F9D18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#5F9D18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9D18
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9D18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9D18 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#609685
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5f9d18; /* rgb */ color: rgb(95, 157, 24); /* oklch */ color: oklch(63.0% 0.168 132.7);
Tailwind
colors: {
custom: {
50: '#92ba63',
500: '#5f9d18',
950: '#000000',
},
}SCSS
$custom: #5f9d18; $custom-light: #92ba63; $custom-dark: #000000;
JSON
{
"hex": "#5f9d18",
"rgb": {
"r": 95,
"g": 157,
"b": 24
},
"hsl": {
"h": 87.97,
"s": 73.481,
"l": 35.49
},
"oklch": {
"l": 0.62979,
"c": 0.16804,
"h": 132.7
},
"luminance": 0.26613
}Semantic roles & 50–950 ramp
primary
#5F9D18
secondary
#844BC5
accent
#38F08E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1106
muted
#7E807A