#5BAF34#5BAF34
#5BAF34 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.6% C 0.177 H 137.5°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF34 |
|---|---|
| RGB | rgb(91, 175, 52) |
| HSL | hsl(101, 54%, 45%) |
| HSV | hsv(101, 70%, 69%) |
| CMYK | cmyk(48%, 0%, 70.3%, 31.4%) |
| CIE-LAB | lab(64.27, -47.28, 52.66) |
| CIE-LCH | lch(64.27, 70.77, 131.92°) |
| OKLab | oklab(67.62% -0.1308 0.1197) |
| OKLCH | oklch(67.62% 0.177 137.5) |
| XYZ | xyz(20.2635, 33.1307, 8.5752) |
| Luminance | 0.3313 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.12
Leafy Green
#51B73B
ΔE00 2.63
Nasty Green
#70B23F
ΔE00 2.69
Leaf
#71AA34
ΔE00 3.59
Kermit Green
#5CB200
ΔE00 3.70
Leaf Green
#5CA904
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF34 #8834AF
analogous
#98AF34 #5BAF34 #34AF4B
triadic
#5BAF34 #345BAF #AF345B
tetradic
#5BAF34 #3498AF #8834AF #AF4B34
square
#5BAF34 #3498AF #8834AF #AF4B34
split-complementary
#5BAF34 #4B34AF #AF3498
monochromatic
#2A5118 #428026 #5BAF34 #7ACC54 #9FDA83
Accessibility & contrast
On white
2.75
#5BAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.63
#5BAF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF34
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF34 | 1.00 | 2.75 | 7.63 | 7.63 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#AA993F
Tritanopia (blue-blind)
#56A997
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf34; /* rgb */ color: rgb(91, 175, 52); /* oklch */ color: oklch(67.6% 0.177 137.5);
Tailwind
colors: {
custom: {
50: '#91c772',
500: '#5baf34',
950: '#000000',
},
}SCSS
$custom: #5baf34; $custom-light: #91c772; $custom-dark: #000000;
JSON
{
"hex": "#5baf34",
"rgb": {
"r": 91,
"g": 175,
"b": 52
},
"hsl": {
"h": 100.976,
"s": 54.185,
"l": 44.51
},
"oklch": {
"l": 0.67616,
"c": 0.17732,
"h": 137.5
},
"luminance": 0.33132
}Semantic roles & 50–950 ramp
primary
#5BAF34
secondary
#AD7BC4
accent
#4ADEAF
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B