#5A9F2D#5A9F2D
#5A9F2D is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.162 H 135.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5A9F2D |
|---|---|
| RGB | rgb(90, 159, 45) |
| HSL | hsl(96, 56%, 40%) |
| HSV | hsv(96, 72%, 62%) |
| CMYK | cmyk(43.4%, 0%, 71.7%, 37.6%) |
| CIE-LAB | lab(59.12, -41.60, 50.08) |
| CIE-LCH | lch(59.12, 65.10, 129.72°) |
| OKLab | oklab(63.37% -0.1158 0.1134) |
| OKLCH | oklch(63.37% 0.162 135.6) |
| XYZ | xyz(17.0878, 27.1584, 6.8238) |
| Luminance | 0.2716 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.15
Grassy Green
#419C03
ΔE00 3.45
Grass Green
#3F9B0B
ΔE00 3.52
Grass
#5CAC2D
ΔE00 3.96
Leaf Green
#5CA904
ΔE00 4.48
Leaf
#71AA34
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A9F2D #722D9F
analogous
#939F2D #5A9F2D #2D9F39
triadic
#5A9F2D #2D5A9F #9F2D5A
tetradic
#5A9F2D #2D939F #722D9F #9F392D
square
#5A9F2D #2D939F #722D9F #9F392D
split-complementary
#5A9F2D #392D9F #9F2D93
monochromatic
#244012 #3F6F20 #5A9F2D #76C940 #98D670
Accessibility & contrast
On white
3.27
#5A9F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#5A9F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A9F2D
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A9F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A9F2D | 1.00 | 3.27 | 6.43 | 6.43 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5921A
Deuteranopia (green-blind)
#9B8C38
Tritanopia (blue-blind)
#589988
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5a9f2d; /* rgb */ color: rgb(90, 159, 45); /* oklch */ color: oklch(63.4% 0.162 135.6);
Tailwind
colors: {
custom: {
50: '#8ebc6d',
500: '#5a9f2d',
950: '#000000',
},
}SCSS
$custom: #5a9f2d; $custom-light: #8ebc6d; $custom-dark: #000000;
JSON
{
"hex": "#5a9f2d",
"rgb": {
"r": 90,
"g": 159,
"b": 45
},
"hsl": {
"h": 96.316,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.63366,
"c": 0.16208,
"h": 135.6
},
"luminance": 0.27159
}Semantic roles & 50–950 ramp
primary
#5A9F2D
secondary
#9D6ABE
accent
#49DFA4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A