#5AAF2D#5AAF2D
#5AAF2D is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.182 H 137.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAF2D |
|---|---|
| RGB | rgb(90, 175, 45) |
| HSL | hsl(99, 59%, 43%) |
| HSV | hsv(99, 74%, 69%) |
| CMYK | cmyk(48.6%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(64.18, -48.11, 55.17) |
| CIE-LCH | lch(64.18, 73.20, 131.09°) |
| OKLab | oklab(67.52% -0.1334 0.124) |
| OKLCH | oklch(67.52% 0.182 137.1) |
| XYZ | xyz(20.0195, 33.0217, 7.8010) |
| Luminance | 0.3302 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.91
Nasty Green
#70B23F
ΔE00 2.89
Leafy Green
#51B73B
ΔE00 2.91
Kermit Green
#5CB200
ΔE00 3.02
Leaf Green
#5CA904
ΔE00 3.19
Leaf
#71AA34
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAF2D #822DAF
analogous
#9BAF2D #5AAF2D #2DAF41
triadic
#5AAF2D #2D5AAF #AF2D5A
tetradic
#5AAF2D #2D9BAF #822DAF #AF412D
square
#5AAF2D #2D9BAF #822DAF #AF412D
split-complementary
#5AAF2D #412DAF #AF2D9B
monochromatic
#284E14 #417E20 #5AAF2D #78D049 #9CDD7A
Accessibility & contrast
On white
2.76
#5AAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#5AAF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAF2D
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAF2D | 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)
#B5A013
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5aaf2d; /* rgb */ color: rgb(90, 175, 45); /* oklch */ color: oklch(67.5% 0.182 137.1);
Tailwind
colors: {
custom: {
50: '#90c76f',
500: '#5aaf2d',
950: '#000000',
},
}SCSS
$custom: #5aaf2d; $custom-light: #90c76f; $custom-dark: #000000;
JSON
{
"hex": "#5aaf2d",
"rgb": {
"r": 90,
"g": 175,
"b": 45
},
"hsl": {
"h": 99.231,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.67517,
"c": 0.18217,
"h": 137.1
},
"luminance": 0.33023
}Semantic roles & 50–950 ramp
primary
#5AAF2D
secondary
#A973C5
accent
#46E2AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B