#5AAB1F#5AAB1F
#5AAB1F is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.184 H 135.8°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAB1F |
|---|---|
| RGB | rgb(90, 171, 31) |
| HSL | hsl(95, 69%, 40%) |
| HSV | hsv(95, 82%, 67%) |
| CMYK | cmyk(47.4%, 0%, 81.9%, 32.9%) |
| CIE-LAB | lab(62.84, -47.35, 58.36) |
| CIE-LCH | lch(62.84, 75.15, 129.05°) |
| OKLab | oklab(66.39% -0.1322 0.1286) |
| OKLCH | oklch(66.39% 0.184 135.8) |
| XYZ | xyz(19.0262, 31.3972, 6.3538) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.21
Leaf Green
#5CA904
ΔE00 1.64
Lawn Green
#4DA409
ΔE00 2.52
Kermit Green
#5CB200
ΔE00 2.65
Leaf
#71AA34
ΔE00 3.20
Nasty Green
#70B23F
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAB1F #701FAB
analogous
#A0AB1F #5AAB1F #1FAB2A
triadic
#5AAB1F #1F5AAB #AB1F5A
tetradic
#5AAB1F #1FA0AB #701FAB #AB2A1F
square
#5AAB1F #1FA0AB #701FAB #AB2A1F
split-complementary
#5AAB1F #2A1FAB #AB1FA0
monochromatic
#23430C #3F7716 #5AAB1F #76D92E #98E362
Accessibility & contrast
On white
2.88
#5AAB1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#5AAB1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAB1F
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAB1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAB1F | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A79630
Tritanopia (blue-blind)
#57A492
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5aab1f; /* rgb */ color: rgb(90, 171, 31); /* oklch */ color: oklch(66.4% 0.184 135.8);
Tailwind
colors: {
custom: {
50: '#90c568',
500: '#5aab1f',
950: '#000000',
},
}SCSS
$custom: #5aab1f; $custom-light: #90c568; $custom-dark: #000000;
JSON
{
"hex": "#5aab1f",
"rgb": {
"r": 90,
"g": 171,
"b": 31
},
"hsl": {
"h": 94.714,
"s": 69.307,
"l": 39.608
},
"oklch": {
"l": 0.66394,
"c": 0.18448,
"h": 135.8
},
"luminance": 0.31398
}Semantic roles & 50–950 ramp
primary
#5AAB1F
secondary
#9B5EC7
accent
#3CECA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A