#5B9C1F#5B9C1F
#5B9C1F is a light, vivid yellow-green. Relative luminance 0.261; OKLCH L 62.5% C 0.166 H 133.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5B9C1F |
|---|---|
| RGB | rgb(91, 156, 31) |
| HSL | hsl(91, 67%, 37%) |
| HSV | hsv(91, 80%, 61%) |
| CMYK | cmyk(41.7%, 0%, 80.1%, 38.8%) |
| CIE-LAB | lab(58.13, -40.89, 54.03) |
| CIE-LCH | lch(58.13, 67.76, 127.12°) |
| OKLab | oklab(62.54% -0.115 0.1195) |
| OKLCH | oklch(62.54% 0.166 133.9) |
| XYZ | xyz(16.4499, 26.0991, 5.4669) |
| Luminance | 0.2610 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grassy Green
#419C03
ΔE00 3.01
Lawn Green
#4DA409
ΔE00 3.15
Grass Green
#3F9B0B
ΔE00 3.22
Leaf Green
#5CA904
ΔE00 4.38
Grass
#5CAC2D
ΔE00 4.92
Leaf
#71AA34
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B9C1F #601F9C
analogous
#9A9C1F #5B9C1F #1F9C22
triadic
#5B9C1F #1F5B9C #9C1F5B
tetradic
#5B9C1F #1F9A9C #601F9C #9C221F
square
#5B9C1F #1F9A9C #601F9C #9C221F
split-complementary
#5B9C1F #221F9C #9C1F9A
monochromatic
#1F360B #3D6915 #5B9C1F #79CF29 #98DE58
Accessibility & contrast
On white
3.38
#5B9C1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.22
#5B9C1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5B9C1F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B9C1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5B9C1F | 1.00 | 3.38 | 6.22 | 6.22 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#5A9685
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5b9c1f; /* rgb */ color: rgb(91, 156, 31); /* oklch */ color: oklch(62.5% 0.166 133.9);
Tailwind
colors: {
custom: {
50: '#8fba66',
500: '#5b9c1f',
950: '#000000',
},
}SCSS
$custom: #5b9c1f; $custom-light: #8fba66; $custom-dark: #000000;
JSON
{
"hex": "#5b9c1f",
"rgb": {
"r": 91,
"g": 156,
"b": 31
},
"hsl": {
"h": 91.2,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.6254,
"c": 0.16583,
"h": 133.9
},
"luminance": 0.261
}Semantic roles & 50–950 ramp
primary
#5B9C1F
secondary
#8E55C1
accent
#3EEA97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A