#5A9D2D#5A9D2D
#5A9D2D is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.8% C 0.160 H 135.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9D2D |
|---|---|
| RGB | rgb(90, 157, 45) |
| HSL | hsl(96, 55%, 40%) |
| HSV | hsv(96, 71%, 62%) |
| CMYK | cmyk(42.7%, 0%, 71.3%, 38.4%) |
| CIE-LAB | lab(58.49, -40.75, 49.43) |
| CIE-LCH | lch(58.49, 64.06, 129.51°) |
| OKLab | oklab(62.85% -0.1136 0.112) |
| OKLCH | oklch(62.85% 0.16 135.4) |
| XYZ | xyz(16.7467, 26.4761, 6.7101) |
| Luminance | 0.2648 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.42
Grass Green
#3F9B0B
ΔE00 3.43
Lawn Green
#4DA409
ΔE00 3.58
Flat Green
#699D4C
ΔE00 4.47
Grass
#5CAC2D
ΔE00 4.59
Mid Green
#50A747
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9D2D #702D9D
analogous
#929D2D #5A9D2D #2D9D38
triadic
#5A9D2D #2D5A9D #9D2D5A
tetradic
#5A9D2D #2D929D #702D9D #9D382D
square
#5A9D2D #2D929D #702D9D #9D382D
split-complementary
#5A9D2D #382D9D #9D2D92
monochromatic
#233E12 #3F6D1F #5A9D2D #76C83F #98D66F
Accessibility & contrast
On white
3.34
#5A9D2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#5A9D2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9D2D
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9D2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9D2D | 1.00 | 3.34 | 6.30 | 6.30 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3901B
Deuteranopia (green-blind)
#9A8B37
Tritanopia (blue-blind)
#589787
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #5a9d2d; /* rgb */ color: rgb(90, 157, 45); /* oklch */ color: oklch(62.8% 0.160 135.4);
Tailwind
colors: {
custom: {
50: '#8eba6d',
500: '#5a9d2d',
950: '#000000',
},
}SCSS
$custom: #5a9d2d; $custom-light: #8eba6d; $custom-dark: #000000;
JSON
{
"hex": "#5a9d2d",
"rgb": {
"r": 90,
"g": 157,
"b": 45
},
"hsl": {
"h": 95.893,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.62846,
"c": 0.1595,
"h": 135.4
},
"luminance": 0.26477
}Semantic roles & 50–950 ramp
primary
#5A9D2D
secondary
#9B69BD
accent
#49DFA3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A