#5BAF23#5BAF23
#5BAF23 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.187 H 136.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF23 |
|---|---|
| RGB | rgb(91, 175, 35) |
| HSL | hsl(96, 67%, 41%) |
| HSV | hsv(96, 80%, 69%) |
| CMYK | cmyk(48%, 0%, 80%, 31.4%) |
| CIE-LAB | lab(64.16, -48.40, 58.44) |
| CIE-LCH | lch(64.16, 75.88, 129.63°) |
| OKLab | oklab(67.5% -0.1349 0.1294) |
| OKLCH | oklch(67.5% 0.187 136.2) |
| XYZ | xyz(19.9472, 33.0041, 6.9091) |
| Luminance | 0.3301 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.33
Kermit Green
#5CB200
ΔE00 2.08
Leaf Green
#5CA904
ΔE00 2.42
Nasty Green
#70B23F
ΔE00 3.17
Leaf
#71AA34
ΔE00 3.44
Lawn Green
#4DA409
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF23 #7723AF
analogous
#A1AF23 #5BAF23 #23AF31
triadic
#5BAF23 #235BAF #AF235B
tetradic
#5BAF23 #23A1AF #7723AF #AF3123
square
#5BAF23 #23A1AF #7723AF #AF3123
split-complementary
#5BAF23 #3123AF #AF23A1
monochromatic
#26490F #407C19 #5BAF23 #78D738 #9AE16B
Accessibility & contrast
On white
2.76
#5BAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#5BAF23 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF23
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF23 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#57A895
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #5baf23; /* rgb */ color: rgb(91, 175, 35); /* oklch */ color: oklch(67.5% 0.187 136.2);
Tailwind
colors: {
custom: {
50: '#91c76a',
500: '#5baf23',
950: '#000000',
},
}SCSS
$custom: #5baf23; $custom-light: #91c76a; $custom-dark: #000000;
JSON
{
"hex": "#5baf23",
"rgb": {
"r": 91,
"g": 175,
"b": 35
},
"hsl": {
"h": 96,
"s": 66.667,
"l": 41.176
},
"oklch": {
"l": 0.67499,
"c": 0.18692,
"h": 136.2
},
"luminance": 0.33005
}Semantic roles & 50–950 ramp
primary
#5BAF23
secondary
#A166C7
accent
#3EEAA5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A