#5F951F#5F951F
#5F951F is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.155 H 131.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5F951F |
|---|---|
| RGB | rgb(95, 149, 31) |
| HSL | hsl(87, 66%, 35%) |
| HSV | hsv(87, 79%, 58%) |
| CMYK | cmyk(36.2%, 0%, 79.2%, 41.6%) |
| CIE-LAB | lab(56.11, -36.41, 52.21) |
| CIE-LCH | lch(56.11, 63.66, 124.89°) |
| OKLab | oklab(60.95% -0.1032 0.1156) |
| OKLCH | oklch(60.95% 0.155 131.7) |
| XYZ | xyz(15.7139, 24.0261, 5.1056) |
| Luminance | 0.2403 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sap Green
#5C8B15
ΔE00 3.45
Olivedrab
#6B8E23
ΔE00 3.54
Mossy Green
#638B27
ΔE00 3.75
Grassy Green
#419C03
ΔE00 4.44
Grass Green
#3F9B0B
ΔE00 4.48
Moss Green (survey)
#658B38
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F951F #551F95
analogous
#95901F #5F951F #24951F
triadic
#5F951F #1F5F95 #951F5F
tetradic
#5F951F #1F9590 #551F95 #951F24
square
#5F951F #1F9590 #551F95 #951F24
split-complementary
#5F951F #1F2495 #901F95
monochromatic
#1E300A #3F6214 #5F951F #7FC82A #9DDB53
Accessibility & contrast
On white
3.62
#5F951F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#5F951F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F951F
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F951F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F951F | 1.00 | 3.62 | 5.81 | 5.81 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#608F7F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5f951f; /* rgb */ color: rgb(95, 149, 31); /* oklch */ color: oklch(60.9% 0.155 131.7);
Tailwind
colors: {
custom: {
50: '#91b465',
500: '#5f951f',
950: '#000000',
},
}SCSS
$custom: #5f951f; $custom-light: #91b465; $custom-dark: #000000;
JSON
{
"hex": "#5f951f",
"rgb": {
"r": 95,
"g": 149,
"b": 31
},
"hsl": {
"h": 87.458,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.60945,
"c": 0.15495,
"h": 131.7
},
"luminance": 0.24027
}Semantic roles & 50–950 ramp
primary
#5F951F
secondary
#8351BF
accent
#3FE98D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A