#5FA127#5FA127
#5FA127 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.166 H 134.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA127 |
|---|---|
| RGB | rgb(95, 161, 39) |
| HSL | hsl(92, 61%, 39%) |
| HSV | hsv(92, 76%, 63%) |
| CMYK | cmyk(41%, 0%, 75.8%, 36.9%) |
| CIE-LAB | lab(59.95, -41.15, 53.20) |
| CIE-LCH | lch(59.95, 67.25, 127.72°) |
| OKLab | oklab(64.1% -0.1154 0.1189) |
| OKLCH | oklch(64.1% 0.166 134.1) |
| XYZ | xyz(17.8301, 28.0682, 6.3973) |
| Luminance | 0.2807 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.65
Leaf Green
#5CA904
ΔE00 3.33
Grass
#5CAC2D
ΔE00 3.38
Leaf
#71AA34
ΔE00 3.50
Grassy Green
#419C03
ΔE00 3.81
Grass Green
#3F9B0B
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA127 #6927A1
analogous
#9CA127 #5FA127 #27A12C
triadic
#5FA127 #275FA1 #A1275F
tetradic
#5FA127 #279CA1 #6927A1 #A12C27
square
#5FA127 #279CA1 #6927A1 #A12C27
split-complementary
#5FA127 #2C27A1 #A1279C
monochromatic
#253E0F #42701B #5FA127 #7CCE37 #9DDA68
Accessibility & contrast
On white
3.18
#5FA127 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#5FA127 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA127
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA127 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA127 | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7940C
Deuteranopia (green-blind)
#9E8F33
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5fa127; /* rgb */ color: rgb(95, 161, 39); /* oklch */ color: oklch(64.1% 0.166 134.1);
Tailwind
colors: {
custom: {
50: '#92bd6a',
500: '#5fa127',
950: '#000000',
},
}SCSS
$custom: #5fa127; $custom-light: #92bd6a; $custom-dark: #000000;
JSON
{
"hex": "#5fa127",
"rgb": {
"r": 95,
"g": 161,
"b": 39
},
"hsl": {
"h": 92.459,
"s": 61,
"l": 39.216
},
"oklch": {
"l": 0.64097,
"c": 0.1657,
"h": 134.1
},
"luminance": 0.28069
}Semantic roles & 50–950 ramp
primary
#5FA127
secondary
#9663C0
accent
#44E49A
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A