#5FB12C#5FB12C
#5FB12C is a light, vivid yellow-green. Relative luminance 0.341; OKLCH L 68.3% C 0.183 H 136.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5FB12C |
|---|---|
| RGB | rgb(95, 177, 44) |
| HSL | hsl(97, 60%, 43%) |
| HSV | hsv(97, 75%, 69%) |
| CMYK | cmyk(46.3%, 0%, 75.1%, 30.6%) |
| CIE-LAB | lab(65.01, -47.40, 56.41) |
| CIE-LCH | lch(65.01, 73.68, 130.04°) |
| OKLab | oklab(68.25% -0.1319 0.1264) |
| OKLCH | oklch(68.25% 0.183 136.2) |
| XYZ | xyz(20.8955, 34.0577, 7.8551) |
| Luminance | 0.3406 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.52
Nasty Green
#70B23F
ΔE00 2.44
Kermit Green
#5CB200
ΔE00 2.48
Leafy Green
#51B73B
ΔE00 3.02
Leaf Green
#5CA904
ΔE00 3.20
Leaf
#71AA34
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FB12C #7E2CB1
analogous
#A1B12C #5FB12C #2CB13B
triadic
#5FB12C #2C5FB1 #B12C5F
tetradic
#5FB12C #2CA1B1 #7E2CB1 #B13B2C
square
#5FB12C #2CA1B1 #7E2CB1 #B13B2C
split-complementary
#5FB12C #3B2CB1 #B12CA1
monochromatic
#2A4F14 #458020 #5FB12C #7DD249 #A0DE7A
Accessibility & contrast
On white
2.69
#5FB12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#5FB12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FB12C
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FB12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FB12C | 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)
#B7A20F
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#5BAA98
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5fb12c; /* rgb */ color: rgb(95, 177, 44); /* oklch */ color: oklch(68.3% 0.183 136.2);
Tailwind
colors: {
custom: {
50: '#94c96f',
500: '#5fb12c',
950: '#000000',
},
}SCSS
$custom: #5fb12c; $custom-light: #94c96f; $custom-dark: #000000;
JSON
{
"hex": "#5fb12c",
"rgb": {
"r": 95,
"g": 177,
"b": 44
},
"hsl": {
"h": 96.992,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.68254,
"c": 0.1827,
"h": 136.2
},
"luminance": 0.34059
}Semantic roles & 50–950 ramp
primary
#5FB12C
secondary
#A673C6
accent
#44E3A6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B