#5F9F2D#5F9F2D
#5F9F2D is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.6% C 0.159 H 134.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9F2D |
|---|---|
| RGB | rgb(95, 159, 45) |
| HSL | hsl(94, 56%, 40%) |
| HSV | hsv(94, 72%, 62%) |
| CMYK | cmyk(40.3%, 0%, 71.7%, 37.6%) |
| CIE-LAB | lab(59.36, -39.88, 50.40) |
| CIE-LCH | lch(59.36, 64.27, 128.36°) |
| OKLab | oklab(63.63% -0.1115 0.1139) |
| OKLCH | oklch(63.63% 0.159 134.4) |
| XYZ | xyz(17.5908, 27.4177, 6.8474) |
| Luminance | 0.2742 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.35
Grassy Green
#419C03
ΔE00 3.89
Grass
#5CAC2D
ΔE00 3.99
Grass Green
#3F9B0B
ΔE00 4.02
Leaf
#71AA34
ΔE00 4.03
Leaf Green
#5CA904
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9F2D #6D2D9F
analogous
#989F2D #5F9F2D #2D9F34
triadic
#5F9F2D #2D5F9F #9F2D5F
tetradic
#5F9F2D #2D989F #6D2D9F #9F342D
square
#5F9F2D #2D989F #6D2D9F #9F342D
split-complementary
#5F9F2D #342D9F #9F2D98
monochromatic
#264012 #436F20 #5F9F2D #7CC940 #9DD670
Accessibility & contrast
On white
3.24
#5F9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.48
#5F9F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9F2D
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9F2D | 1.00 | 3.24 | 6.48 | 6.48 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#9C8D38
Tritanopia (blue-blind)
#5E9989
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5f9f2d; /* rgb */ color: rgb(95, 159, 45); /* oklch */ color: oklch(63.6% 0.159 134.4);
Tailwind
colors: {
custom: {
50: '#92bc6d',
500: '#5f9f2d',
950: '#000000',
},
}SCSS
$custom: #5f9f2d; $custom-light: #92bc6d; $custom-dark: #000000;
JSON
{
"hex": "#5f9f2d",
"rgb": {
"r": 95,
"g": 159,
"b": 45
},
"hsl": {
"h": 93.684,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.63625,
"c": 0.15945,
"h": 134.4
},
"luminance": 0.27419
}Semantic roles & 50–950 ramp
primary
#5F9F2D
secondary
#996ABE
accent
#49DF9D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A