#5BAF2F#5BAF2F
#5BAF2F is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.6% C 0.180 H 137.1°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5BAF2F |
|---|---|
| RGB | rgb(91, 175, 47) |
| HSL | hsl(99, 58%, 44%) |
| HSV | hsv(99, 73%, 69%) |
| CMYK | cmyk(48%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(64.23, -47.66, 54.52) |
| CIE-LCH | lch(64.23, 72.41, 131.16°) |
| OKLab | oklab(67.58% -0.1322 0.1229) |
| OKLCH | oklch(67.58% 0.18 137.1) |
| XYZ | xyz(20.1568, 33.0880, 8.0133) |
| Luminance | 0.3309 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.89
Nasty Green
#70B23F
ΔE00 2.75
Leafy Green
#51B73B
ΔE00 2.86
Kermit Green
#5CB200
ΔE00 3.16
Leaf Green
#5CA904
ΔE00 3.31
Leaf
#71AA34
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5BAF2F #832FAF
analogous
#9BAF2F #5BAF2F #2FAF43
triadic
#5BAF2F #2F5BAF #AF2F5B
tetradic
#5BAF2F #2F9BAF #832FAF #AF432F
square
#5BAF2F #2F9BAF #832FAF #AF432F
split-complementary
#5BAF2F #432FAF #AF2F9B
monochromatic
#294F15 #427F22 #5BAF2F #79CF4C #9DDC7C
Accessibility & contrast
On white
2.76
#5BAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.62
#5BAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5BAF2F
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5BAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5BAF2F | 1.00 | 2.76 | 7.62 | 7.62 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #5baf2f; /* rgb */ color: rgb(91, 175, 47); /* oklch */ color: oklch(67.6% 0.180 137.1);
Tailwind
colors: {
custom: {
50: '#91c770',
500: '#5baf2f',
950: '#000000',
},
}SCSS
$custom: #5baf2f; $custom-light: #91c770; $custom-dark: #000000;
JSON
{
"hex": "#5baf2f",
"rgb": {
"r": 91,
"g": 175,
"b": 47
},
"hsl": {
"h": 99.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.67577,
"c": 0.18048,
"h": 137.1
},
"luminance": 0.33089
}Semantic roles & 50–950 ramp
primary
#5BAF2F
secondary
#A975C4
accent
#47E1AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B