#5FB12F#5FB12F
#5FB12F is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.3% C 0.181 H 136.5°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB12F |
|---|---|
| RGB | rgb(95, 177, 47) |
| HSL | hsl(98, 58%, 44%) |
| HSV | hsv(98, 73%, 69%) |
| CMYK | cmyk(46.3%, 0%, 73.4%, 30.6%) |
| CIE-LAB | lab(65.03, -47.20, 55.37) |
| CIE-LCH | lch(65.03, 72.76, 130.45°) |
| OKLab | oklab(68.27% -0.1312 0.1246) |
| OKLCH | oklch(68.27% 0.181 136.5) |
| XYZ | xyz(20.9540, 34.0811, 8.1629) |
| Luminance | 0.3408 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.46
Nasty Green
#70B23F
ΔE00 2.32
Kermit Green
#5CB200
ΔE00 2.78
Leafy Green
#51B73B
ΔE00 2.82
Leaf
#71AA34
ΔE00 3.36
Leaf Green
#5CA904
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB12F #812FB1
analogous
#A0B12F #5FB12F #2FB140
triadic
#5FB12F #2F5FB1 #B12F5F
tetradic
#5FB12F #2FA0B1 #812FB1 #B1402F
square
#5FB12F #2FA0B1 #812FB1 #B1402F
split-complementary
#5FB12F #402FB1 #B12FA0
monochromatic
#2B5015 #458122 #5FB12F #7ED04D #A1DD7E
Accessibility & contrast
On white
2.69
#5FB12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#5FB12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB12F
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB12F | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#5BAA98
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5fb12f; /* rgb */ color: rgb(95, 177, 47); /* oklch */ color: oklch(68.3% 0.181 136.5);
Tailwind
colors: {
custom: {
50: '#94c970',
500: '#5fb12f',
950: '#000000',
},
}SCSS
$custom: #5fb12f; $custom-light: #94c970; $custom-dark: #000000;
JSON
{
"hex": "#5fb12f",
"rgb": {
"r": 95,
"g": 177,
"b": 47
},
"hsl": {
"h": 97.846,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.68275,
"c": 0.18096,
"h": 136.5
},
"luminance": 0.34082
}Semantic roles & 50–950 ramp
primary
#5FB12F
secondary
#A876C5
accent
#47E1A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B