#5AAF28#5AAF28
#5AAF28 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.185 H 136.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAF28 |
|---|---|
| RGB | rgb(90, 175, 40) |
| HSL | hsl(98, 63%, 42%) |
| HSV | hsv(98, 77%, 69%) |
| CMYK | cmyk(48.6%, 0%, 77.1%, 31.4%) |
| CIE-LAB | lab(64.15, -48.43, 56.85) |
| CIE-LCH | lch(64.15, 74.68, 130.43°) |
| OKLab | oklab(67.48% -0.1346 0.1268) |
| OKLCH | oklch(67.48% 0.185 136.7) |
| XYZ | xyz(19.9288, 32.9854, 7.3238) |
| Luminance | 0.3299 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.04
Kermit Green
#5CB200
ΔE00 2.55
Leaf Green
#5CA904
ΔE00 2.80
Nasty Green
#70B23F
ΔE00 3.04
Leafy Green
#51B73B
ΔE00 3.20
Leaf
#71AA34
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAF28 #7D28AF
analogous
#9EAF28 #5AAF28 #28AF3A
triadic
#5AAF28 #285AAF #AF285A
tetradic
#5AAF28 #289EAF #7D28AF #AF3A28
square
#5AAF28 #289EAF #7D28AF #AF3A28
split-complementary
#5AAF28 #3A28AF #AF289E
monochromatic
#274B11 #407D1D #5AAF28 #77D441 #9BDF73
Accessibility & contrast
On white
2.76
#5AAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#5AAF28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAF28
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAF28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAF28 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#55A896
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #5aaf28; /* rgb */ color: rgb(90, 175, 40); /* oklch */ color: oklch(67.5% 0.185 136.7);
Tailwind
colors: {
custom: {
50: '#91c76c',
500: '#5aaf28',
950: '#000000',
},
}SCSS
$custom: #5aaf28; $custom-light: #91c76c; $custom-dark: #000000;
JSON
{
"hex": "#5aaf28",
"rgb": {
"r": 90,
"g": 175,
"b": 40
},
"hsl": {
"h": 97.778,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.67484,
"c": 0.18493,
"h": 136.7
},
"luminance": 0.32987
}Semantic roles & 50–950 ramp
primary
#5AAF28
secondary
#A56DC6
accent
#42E6A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A