#5B9E2A#5B9E2A
#5B9E2A is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.162 H 135.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9E2A |
|---|---|
| RGB | rgb(91, 158, 42) |
| HSL | hsl(95, 58%, 39%) |
| HSV | hsv(95, 73%, 62%) |
| CMYK | cmyk(42.4%, 0%, 73.4%, 38%) |
| CIE-LAB | lab(58.83, -41.06, 50.94) |
| CIE-LCH | lch(58.83, 65.43, 128.87°) |
| OKLab | oklab(63.13% -0.1147 0.1147) |
| OKLCH | oklch(63.13% 0.162 135) |
| XYZ | xyz(16.9588, 26.8441, 6.4779) |
| Luminance | 0.2685 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.15
Grassy Green
#419C03
ΔE00 3.33
Grass Green
#3F9B0B
ΔE00 3.43
Grass
#5CAC2D
ΔE00 4.23
Leaf Green
#5CA904
ΔE00 4.44
Leaf
#71AA34
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9E2A #6D2A9E
analogous
#959E2A #5B9E2A #2A9E33
triadic
#5B9E2A #2A5B9E #9E2A5B
tetradic
#5B9E2A #2A959E #6D2A9E #9E332A
square
#5B9E2A #2A959E #6D2A9E #9E332A
split-complementary
#5B9E2A #332A9E #9E2A95
monochromatic
#233D10 #3F6E1D #5B9E2A #77CB3A #99D86B
Accessibility & contrast
On white
3.30
#5B9E2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#5B9E2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9E2A
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9E2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9E2A | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49115
Deuteranopia (green-blind)
#9B8C35
Tritanopia (blue-blind)
#599887
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9e2a; /* rgb */ color: rgb(91, 158, 42); /* oklch */ color: oklch(63.1% 0.162 135.0);
Tailwind
colors: {
custom: {
50: '#8fbb6b',
500: '#5b9e2a',
950: '#000000',
},
}SCSS
$custom: #5b9e2a; $custom-light: #8fbb6b; $custom-dark: #000000;
JSON
{
"hex": "#5b9e2a",
"rgb": {
"r": 91,
"g": 158,
"b": 42
},
"hsl": {
"h": 94.655,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.63133,
"c": 0.1622,
"h": 135
},
"luminance": 0.26845
}Semantic roles & 50–950 ramp
primary
#5B9E2A
secondary
#9966BE
accent
#47E1A0
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A