#5B9F2C#5B9F2C
#5B9F2C is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.4% C 0.162 H 135.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9F2C |
|---|---|
| RGB | rgb(91, 159, 44) |
| HSL | hsl(95, 57%, 40%) |
| HSV | hsv(95, 72%, 62%) |
| CMYK | cmyk(42.8%, 0%, 72.3%, 37.6%) |
| CIE-LAB | lab(59.16, -41.34, 50.52) |
| CIE-LCH | lch(59.16, 65.27, 129.29°) |
| OKLab | oklab(63.41% -0.1153 0.1141) |
| OKLCH | oklch(63.41% 0.162 135.3) |
| XYZ | xyz(17.1667, 27.2013, 6.7282) |
| Luminance | 0.2720 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.10
Grassy Green
#419C03
ΔE00 3.47
Grass Green
#3F9B0B
ΔE00 3.57
Grass
#5CAC2D
ΔE00 3.94
Leaf Green
#5CA904
ΔE00 4.35
Leaf
#71AA34
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9F2C #702C9F
analogous
#959F2C #5B9F2C #2C9F36
triadic
#5B9F2C #2C5B9F #9F2C5B
tetradic
#5B9F2C #2C959F #702C9F #9F362C
square
#5B9F2C #2C959F #702C9F #9F362C
split-complementary
#5B9F2C #362C9F #9F2C95
monochromatic
#243F11 #406F1F #5B9F2C #77CA3E #99D76E
Accessibility & contrast
On white
3.26
#5B9F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#5B9F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9F2C
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9F2C | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #5b9f2c; /* rgb */ color: rgb(91, 159, 44); /* oklch */ color: oklch(63.4% 0.162 135.3);
Tailwind
colors: {
custom: {
50: '#8fbc6c',
500: '#5b9f2c',
950: '#000000',
},
}SCSS
$custom: #5b9f2c; $custom-light: #8fbc6c; $custom-dark: #000000;
JSON
{
"hex": "#5b9f2c",
"rgb": {
"r": 91,
"g": 159,
"b": 44
},
"hsl": {
"h": 95.478,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.63408,
"c": 0.16221,
"h": 135.3
},
"luminance": 0.27202
}Semantic roles & 50–950 ramp
primary
#5B9F2C
secondary
#9B69BE
accent
#48E0A2
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A