#5AAF26#5AAF26
#5AAF26 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.186 H 136.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAF26 |
|---|---|
| RGB | rgb(90, 175, 38) |
| HSL | hsl(97, 64%, 42%) |
| HSV | hsv(97, 78%, 69%) |
| CMYK | cmyk(48.6%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(64.14, -48.55, 57.48) |
| CIE-LCH | lch(64.14, 75.24, 130.18°) |
| OKLab | oklab(67.47% -0.1351 0.1278) |
| OKLCH | oklch(67.47% 0.186 136.6) |
| XYZ | xyz(19.8957, 32.9722, 7.1492) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.14
Kermit Green
#5CB200
ΔE00 2.38
Leaf Green
#5CA904
ΔE00 2.66
Nasty Green
#70B23F
ΔE00 3.11
Leafy Green
#51B73B
ΔE00 3.32
Leaf
#71AA34
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAF26 #7B26AF
analogous
#9FAF26 #5AAF26 #26AF36
triadic
#5AAF26 #265AAF #AF265A
tetradic
#5AAF26 #269FAF #7B26AF #AF3626
square
#5AAF26 #269FAF #7B26AF #AF3626
split-complementary
#5AAF26 #3626AF #AF269F
monochromatic
#264A10 #407D1B #5AAF26 #77D53D #9AE070
Accessibility & contrast
On white
2.77
#5AAF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#5AAF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAF26
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAF26 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9935
Tritanopia (blue-blind)
#56A895
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #5aaf26; /* rgb */ color: rgb(90, 175, 38); /* oklch */ color: oklch(67.5% 0.186 136.6);
Tailwind
colors: {
custom: {
50: '#91c76c',
500: '#5aaf26',
950: '#000000',
},
}SCSS
$custom: #5aaf26; $custom-light: #91c76c; $custom-dark: #000000;
JSON
{
"hex": "#5aaf26",
"rgb": {
"r": 90,
"g": 175,
"b": 38
},
"hsl": {
"h": 97.226,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.67471,
"c": 0.18596,
"h": 136.6
},
"luminance": 0.32974
}Semantic roles & 50–950 ramp
primary
#5AAF26
secondary
#A46AC7
accent
#40E7A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A