#5F9E2F#5F9E2F
#5F9E2F is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.4% C 0.157 H 134.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5F9E2F |
|---|---|
| RGB | rgb(95, 158, 47) |
| HSL | hsl(94, 54%, 40%) |
| HSV | hsv(94, 70%, 62%) |
| CMYK | cmyk(39.9%, 0%, 70.3%, 38%) |
| CIE-LAB | lab(59.06, -39.30, 49.30) |
| CIE-LCH | lch(59.06, 63.05, 128.56°) |
| OKLab | oklab(63.38% -0.1098 0.1119) |
| OKLCH | oklch(63.38% 0.157 134.4) |
| XYZ | xyz(17.4589, 27.0910, 6.9979) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.69
Grassy Green
#419C03
ΔE00 3.98
Grass Green
#3F9B0B
ΔE00 4.05
Flat Green
#699D4C
ΔE00 4.26
Leaf
#71AA34
ΔE00 4.33
Grass
#5CAC2D
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F9E2F #6E2F9E
analogous
#969E2F #5F9E2F #2F9E37
triadic
#5F9E2F #2F5F9E #9E2F5F
tetradic
#5F9E2F #2F969E #6E2F9E #9E372F
square
#5F9E2F #2F969E #6E2F9E #9E372F
split-complementary
#5F9E2F #372F9E #9E2F96
monochromatic
#264013 #436F21 #5F9E2F #7CC743 #9DD572
Accessibility & contrast
On white
3.27
#5F9E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#5F9E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F9E2F
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F9E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F9E2F | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4911E
Deuteranopia (green-blind)
#9B8C39
Tritanopia (blue-blind)
#5E9888
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5f9e2f; /* rgb */ color: rgb(95, 158, 47); /* oklch */ color: oklch(63.4% 0.157 134.4);
Tailwind
colors: {
custom: {
50: '#91bb6e',
500: '#5f9e2f',
950: '#000000',
},
}SCSS
$custom: #5f9e2f; $custom-light: #91bb6e; $custom-dark: #000000;
JSON
{
"hex": "#5f9e2f",
"rgb": {
"r": 95,
"g": 158,
"b": 47
},
"hsl": {
"h": 94.054,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.63384,
"c": 0.15679,
"h": 134.4
},
"luminance": 0.27092
}Semantic roles & 50–950 ramp
primary
#5F9E2F
secondary
#9A6CBD
accent
#4ADE9E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A