#5A9E2C#5A9E2C
#5A9E2C is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.161 H 135.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9E2C |
|---|---|
| RGB | rgb(90, 158, 44) |
| HSL | hsl(96, 56%, 40%) |
| HSV | hsv(96, 72%, 62%) |
| CMYK | cmyk(43%, 0%, 72.2%, 38%) |
| CIE-LAB | lab(58.80, -41.25, 50.13) |
| CIE-LCH | lch(58.80, 64.92, 129.45°) |
| OKLab | oklab(63.1% -0.115 0.1133) |
| OKLCH | oklch(63.1% 0.161 135.4) |
| XYZ | xyz(16.8975, 26.8083, 6.6665) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.28
Grassy Green
#419C03
ΔE00 3.36
Grass Green
#3F9B0B
ΔE00 3.41
Grass
#5CAC2D
ΔE00 4.26
Flat Green
#699D4C
ΔE00 4.64
Leaf Green
#5CA904
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9E2C #702C9E
analogous
#939E2C #5A9E2C #2C9E37
triadic
#5A9E2C #2C5A9E #9E2C5A
tetradic
#5A9E2C #2C939E #702C9E #9E372C
square
#5A9E2C #2C939E #702C9E #9E372C
split-complementary
#5A9E2C #372C9E #9E2C93
monochromatic
#233E11 #3F6E1F #5A9E2C #76C93E #98D76E
Accessibility & contrast
On white
3.30
#5A9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#5A9E2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9E2C
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9E2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9E2C | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#9B8B37
Tritanopia (blue-blind)
#589888
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9e2c; /* rgb */ color: rgb(90, 158, 44); /* oklch */ color: oklch(63.1% 0.161 135.4);
Tailwind
colors: {
custom: {
50: '#8ebb6c',
500: '#5a9e2c',
950: '#000000',
},
}SCSS
$custom: #5a9e2c; $custom-light: #8ebb6c; $custom-dark: #000000;
JSON
{
"hex": "#5a9e2c",
"rgb": {
"r": 90,
"g": 158,
"b": 44
},
"hsl": {
"h": 95.789,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.63098,
"c": 0.16145,
"h": 135.4
},
"luminance": 0.26809
}Semantic roles & 50–950 ramp
primary
#5A9E2C
secondary
#9B68BE
accent
#48E0A3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A