#5AAF27#5AAF27
#5AAF27 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.185 H 136.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAF27 |
|---|---|
| RGB | rgb(90, 175, 39) |
| HSL | hsl(98, 64%, 42%) |
| HSV | hsv(98, 78%, 69%) |
| CMYK | cmyk(48.6%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(64.14, -48.49, 57.17) |
| CIE-LCH | lch(64.14, 74.96, 130.30°) |
| OKLab | oklab(67.48% -0.1348 0.1273) |
| OKLCH | oklch(67.48% 0.185 136.6) |
| XYZ | xyz(19.9121, 32.9787, 7.2354) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.09
Kermit Green
#5CB200
ΔE00 2.46
Leaf Green
#5CA904
ΔE00 2.73
Nasty Green
#70B23F
ΔE00 3.08
Leafy Green
#51B73B
ΔE00 3.26
Leaf
#71AA34
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAF27 #7C27AF
analogous
#9EAF27 #5AAF27 #27AF38
triadic
#5AAF27 #275AAF #AF275A
tetradic
#5AAF27 #279EAF #7C27AF #AF3827
square
#5AAF27 #279EAF #7C27AF #AF3827
split-complementary
#5AAF27 #3827AF #AF279E
monochromatic
#274B11 #407D1C #5AAF27 #77D43F #9ADF71
Accessibility & contrast
On white
2.76
#5AAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#5AAF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAF27
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAF27 | 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)
#B5A001
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#55A896
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #5aaf27; /* rgb */ color: rgb(90, 175, 39); /* oklch */ color: oklch(67.5% 0.185 136.6);
Tailwind
colors: {
custom: {
50: '#91c76c',
500: '#5aaf27',
950: '#000000',
},
}SCSS
$custom: #5aaf27; $custom-light: #91c76c; $custom-dark: #000000;
JSON
{
"hex": "#5aaf27",
"rgb": {
"r": 90,
"g": 175,
"b": 39
},
"hsl": {
"h": 97.5,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.67477,
"c": 0.18545,
"h": 136.6
},
"luminance": 0.3298
}Semantic roles & 50–950 ramp
primary
#5AAF27
secondary
#A46BC6
accent
#41E7A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A