#5BAF2D#5BAF2D
#5BAF2D is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.6% C 0.182 H 136.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF2D |
|---|---|
| RGB | rgb(91, 175, 45) |
| HSL | hsl(99, 59%, 43%) |
| HSV | hsv(99, 74%, 69%) |
| CMYK | cmyk(48%, 0%, 74.3%, 31.4%) |
| CIE-LAB | lab(64.22, -47.80, 55.23) |
| CIE-LCH | lch(64.22, 73.04, 130.88°) |
| OKLab | oklab(67.56% -0.1327 0.1241) |
| OKLCH | oklch(67.56% 0.182 136.9) |
| XYZ | xyz(20.1174, 33.0722, 7.8056) |
| Luminance | 0.3307 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.88
Nasty Green
#70B23F
ΔE00 2.80
Kermit Green
#5CB200
ΔE00 2.96
Leafy Green
#51B73B
ΔE00 2.97
Leaf Green
#5CA904
ΔE00 3.14
Leaf
#71AA34
ΔE00 3.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF2D #812DAF
analogous
#9CAF2D #5BAF2D #2DAF40
triadic
#5BAF2D #2D5BAF #AF2D5B
tetradic
#5BAF2D #2D9CAF #812DAF #AF402D
square
#5BAF2D #2D9CAF #812DAF #AF402D
split-complementary
#5BAF2D #402DAF #AF2D9C
monochromatic
#284E14 #427E20 #5BAF2D #79D049 #9DDD7A
Accessibility & contrast
On white
2.76
#5BAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.61
#5BAF2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF2D
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF2D | 1.00 | 2.76 | 7.61 | 7.61 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A013
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf2d; /* rgb */ color: rgb(91, 175, 45); /* oklch */ color: oklch(67.6% 0.182 136.9);
Tailwind
colors: {
custom: {
50: '#91c76f',
500: '#5baf2d',
950: '#000000',
},
}SCSS
$custom: #5baf2d; $custom-light: #91c76f; $custom-dark: #000000;
JSON
{
"hex": "#5baf2d",
"rgb": {
"r": 91,
"g": 175,
"b": 45
},
"hsl": {
"h": 98.769,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.67562,
"c": 0.18167,
"h": 136.9
},
"luminance": 0.33074
}Semantic roles & 50–950 ramp
primary
#5BAF2D
secondary
#A873C5
accent
#46E2AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B