#5FB12A#5FB12A
#5FB12A is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.2% C 0.184 H 136.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB12A |
|---|---|
| RGB | rgb(95, 177, 42) |
| HSL | hsl(96, 62%, 43%) |
| HSV | hsv(96, 76%, 69%) |
| CMYK | cmyk(46.3%, 0%, 76.3%, 30.6%) |
| CIE-LAB | lab(65.00, -47.53, 57.08) |
| CIE-LCH | lch(65.00, 74.28, 129.78°) |
| OKLab | oklab(68.24% -0.1324 0.1275) |
| OKLCH | oklch(68.24% 0.184 136.1) |
| XYZ | xyz(20.8588, 34.0430, 7.6619) |
| Luminance | 0.3404 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.59
Kermit Green
#5CB200
ΔE00 2.29
Nasty Green
#70B23F
ΔE00 2.54
Leaf Green
#5CA904
ΔE00 3.07
Leafy Green
#51B73B
ΔE00 3.15
Leaf
#71AA34
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB12A #7C2AB1
analogous
#A3B12A #5FB12A #2AB138
triadic
#5FB12A #2A5FB1 #B12A5F
tetradic
#5FB12A #2AA3B1 #7C2AB1 #B1382A
square
#5FB12A #2AA3B1 #7C2AB1 #B1382A
split-complementary
#5FB12A #382AB1 #B12AA3
monochromatic
#2A4E13 #44801E #5FB12A #7DD345 #A0DF77
Accessibility & contrast
On white
2.69
#5FB12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#5FB12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB12A
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB12A | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A209
Deuteranopia (green-blind)
#AC9B38
Tritanopia (blue-blind)
#5BAA97
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5fb12a; /* rgb */ color: rgb(95, 177, 42); /* oklch */ color: oklch(68.2% 0.184 136.1);
Tailwind
colors: {
custom: {
50: '#94c96e',
500: '#5fb12a',
950: '#000000',
},
}SCSS
$custom: #5fb12a; $custom-light: #94c96e; $custom-dark: #000000;
JSON
{
"hex": "#5fb12a",
"rgb": {
"r": 95,
"g": 177,
"b": 42
},
"hsl": {
"h": 96.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.68241,
"c": 0.18381,
"h": 136.1
},
"luminance": 0.34044
}Semantic roles & 50–950 ramp
primary
#5FB12A
secondary
#A570C6
accent
#43E5A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B