#5AAF2C#5AAF2C
#5AAF2C is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.183 H 137.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAF2C |
|---|---|
| RGB | rgb(90, 175, 44) |
| HSL | hsl(99, 60%, 43%) |
| HSV | hsv(99, 75%, 69%) |
| CMYK | cmyk(48.6%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(64.17, -48.17, 55.52) |
| CIE-LCH | lch(64.17, 73.50, 130.95°) |
| OKLab | oklab(67.51% -0.1337 0.1246) |
| OKLCH | oklch(67.51% 0.183 137) |
| XYZ | xyz(20.0004, 33.0141, 7.7008) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.91
Nasty Green
#70B23F
ΔE00 2.91
Kermit Green
#5CB200
ΔE00 2.92
Leafy Green
#51B73B
ΔE00 2.96
Leaf Green
#5CA904
ΔE00 3.11
Leaf
#71AA34
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAF2C #812CAF
analogous
#9BAF2C #5AAF2C #2CAF3F
triadic
#5AAF2C #2C5AAF #AF2C5A
tetradic
#5AAF2C #2C9BAF #812CAF #AF3F2C
square
#5AAF2C #2C9BAF #812CAF #AF3F2C
split-complementary
#5AAF2C #3F2CAF #AF2C9B
monochromatic
#284D13 #417E20 #5AAF2C #78D147 #9CDD78
Accessibility & contrast
On white
2.76
#5AAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#5AAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAF2C
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAF2C | 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)
#B5A011
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5aaf2c; /* rgb */ color: rgb(90, 175, 44); /* oklch */ color: oklch(67.5% 0.183 137.0);
Tailwind
colors: {
custom: {
50: '#90c76e',
500: '#5aaf2c',
950: '#000000',
},
}SCSS
$custom: #5aaf2c; $custom-light: #90c76e; $custom-dark: #000000;
JSON
{
"hex": "#5aaf2c",
"rgb": {
"r": 90,
"g": 175,
"b": 44
},
"hsl": {
"h": 98.931,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.6751,
"c": 0.18274,
"h": 137
},
"luminance": 0.33015
}Semantic roles & 50–950 ramp
primary
#5AAF2C
secondary
#A872C5
accent
#45E3AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B