#5FAB2A#5FAB2A
#5FAB2A is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.7% C 0.176 H 135.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAB2A |
|---|---|
| RGB | rgb(95, 171, 42) |
| HSL | hsl(95, 61%, 42%) |
| HSV | hsv(95, 75%, 67%) |
| CMYK | cmyk(44.4%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(63.11, -45.11, 55.25) |
| CIE-LCH | lch(63.11, 71.33, 129.23°) |
| OKLab | oklab(66.7% -0.1259 0.1237) |
| OKLCH | oklch(66.7% 0.176 135.5) |
| XYZ | xyz(19.6997, 31.7247, 7.2755) |
| Luminance | 0.3173 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.65
Leaf Green
#5CA904
ΔE00 2.31
Leaf
#71AA34
ΔE00 2.54
Nasty Green
#70B23F
ΔE00 3.04
Lawn Green
#4DA409
ΔE00 3.07
Kermit Green
#5CB200
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAB2A #762AAB
analogous
#A0AB2A #5FAB2A #2AAB36
triadic
#5FAB2A #2A5FAB #AB2A5F
tetradic
#5FAB2A #2AA0AB #762AAB #AB362A
square
#5FAB2A #2AA0AB #762AAB #AB362A
split-complementary
#5FAB2A #362AAB #AB2AA0
monochromatic
#284912 #447A1E #5FAB2A #7CD142 #9EDD73
Accessibility & contrast
On white
2.86
#5FAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#5FAB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAB2A
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAB2A | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D0E
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #5fab2a; /* rgb */ color: rgb(95, 171, 42); /* oklch */ color: oklch(66.7% 0.176 135.5);
Tailwind
colors: {
custom: {
50: '#93c46d',
500: '#5fab2a',
950: '#000000',
},
}SCSS
$custom: #5fab2a; $custom-light: #93c46d; $custom-dark: #000000;
JSON
{
"hex": "#5fab2a",
"rgb": {
"r": 95,
"g": 171,
"b": 42
},
"hsl": {
"h": 95.349,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.66696,
"c": 0.17646,
"h": 135.5
},
"luminance": 0.31726
}Semantic roles & 50–950 ramp
primary
#5FAB2A
secondary
#A06DC4
accent
#44E4A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A