#5FA52A#5FA52A
#5FA52A is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.1% C 0.169 H 134.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA52A |
|---|---|
| RGB | rgb(95, 165, 42) |
| HSL | hsl(94, 59%, 41%) |
| HSV | hsv(94, 75%, 65%) |
| CMYK | cmyk(42.4%, 0%, 74.5%, 35.3%) |
| CIE-LAB | lab(61.23, -42.64, 53.39) |
| CIE-LCH | lch(61.23, 68.33, 128.61°) |
| OKLab | oklab(65.15% -0.1192 0.1198) |
| OKLCH | oklch(65.15% 0.169 134.9) |
| XYZ | xyz(18.5920, 29.5093, 6.9063) |
| Luminance | 0.2951 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.15
Lawn Green
#4DA409
ΔE00 2.51
Leaf Green
#5CA904
ΔE00 2.73
Leaf
#71AA34
ΔE00 2.79
Nasty Green
#70B23F
ΔE00 4.28
Grassy Green
#419C03
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA52A #702AA5
analogous
#9CA52A #5FA52A #2AA532
triadic
#5FA52A #2A5FA5 #A52A5F
tetradic
#5FA52A #2A9CA5 #702AA5 #A5322A
square
#5FA52A #2A9CA5 #702AA5 #A5322A
split-complementary
#5FA52A #322AA5 #A52A9C
monochromatic
#274311 #43741E #5FA52A #7CCE3E #9DDA6F
Accessibility & contrast
On white
3.04
#5FA52A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#5FA52A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA52A
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA52A | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9711
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#5D9F8D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5fa52a; /* rgb */ color: rgb(95, 165, 42); /* oklch */ color: oklch(65.1% 0.169 134.9);
Tailwind
colors: {
custom: {
50: '#92c06c',
500: '#5fa52a',
950: '#000000',
},
}SCSS
$custom: #5fa52a; $custom-light: #92c06c; $custom-dark: #000000;
JSON
{
"hex": "#5fa52a",
"rgb": {
"r": 95,
"g": 165,
"b": 42
},
"hsl": {
"h": 94.146,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.6515,
"c": 0.16898,
"h": 134.9
},
"luminance": 0.2951
}Semantic roles & 50–950 ramp
primary
#5FA52A
secondary
#9B69C1
accent
#45E39F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A