#5AAA1F#5AAA1F
#5AAA1F is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.1% C 0.183 H 135.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAA1F |
|---|---|
| RGB | rgb(90, 170, 31) |
| HSL | hsl(95, 69%, 39%) |
| HSV | hsv(95, 82%, 67%) |
| CMYK | cmyk(47.1%, 0%, 81.8%, 33.3%) |
| CIE-LAB | lab(62.53, -46.95, 58.07) |
| CIE-LCH | lch(62.53, 74.68, 128.96°) |
| OKLab | oklab(66.13% -0.1312 0.128) |
| OKLCH | oklch(66.13% 0.183 135.7) |
| XYZ | xyz(18.8380, 31.0208, 6.2910) |
| Luminance | 0.3102 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.28
Leaf Green
#5CA904
ΔE00 1.59
Lawn Green
#4DA409
ΔE00 2.29
Kermit Green
#5CB200
ΔE00 2.90
Leaf
#71AA34
ΔE00 3.16
Nasty Green
#70B23F
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAA1F #6F1FAA
analogous
#A0AA1F #5AAA1F #1FAA29
triadic
#5AAA1F #1F5AAA #AA1F5A
tetradic
#5AAA1F #1FA0AA #6F1FAA #AA291F
square
#5AAA1F #1FA0AA #6F1FAA #AA291F
split-complementary
#5AAA1F #291FAA #AA1FA0
monochromatic
#23420C #3F7616 #5AAA1F #76D92D #98E261
Accessibility & contrast
On white
2.91
#5AAA1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#5AAA1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAA1F
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAA1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAA1F | 1.00 | 2.91 | 7.20 | 7.20 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69530
Tritanopia (blue-blind)
#57A391
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5aaa1f; /* rgb */ color: rgb(90, 170, 31); /* oklch */ color: oklch(66.1% 0.183 135.7);
Tailwind
colors: {
custom: {
50: '#90c468',
500: '#5aaa1f',
950: '#000000',
},
}SCSS
$custom: #5aaa1f; $custom-light: #90c468; $custom-dark: #000000;
JSON
{
"hex": "#5aaa1f",
"rgb": {
"r": 90,
"g": 170,
"b": 31
},
"hsl": {
"h": 94.532,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.66134,
"c": 0.18329,
"h": 135.7
},
"luminance": 0.31022
}Semantic roles & 50–950 ramp
primary
#5AAA1F
secondary
#9A5EC7
accent
#3CECA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A