#5FA01B#5FA01B
#5FA01B is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.170 H 133.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA01B |
|---|---|
| RGB | rgb(95, 160, 27) |
| HSL | hsl(89, 71%, 37%) |
| HSV | hsv(89, 83%, 63%) |
| CMYK | cmyk(40.6%, 0%, 83.1%, 37.3%) |
| CIE-LAB | lab(59.57, -41.37, 56.58) |
| CIE-LCH | lch(59.57, 70.09, 126.17°) |
| OKLab | oklab(63.77% -0.1167 0.1242) |
| OKLCH | oklch(63.77% 0.17 133.2) |
| XYZ | xyz(17.4877, 27.6528, 5.4528) |
| Luminance | 0.2765 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.53
Leaf Green
#5CA904
ΔE00 3.00
Grassy Green
#419C03
ΔE00 3.67
Leaf
#71AA34
ΔE00 3.85
Grass
#5CAC2D
ΔE00 3.95
Grass Green
#3F9B0B
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA01B #5C1BA0
analogous
#A09F1B #5FA01B #1DA01B
triadic
#5FA01B #1B5FA0 #A01B5F
tetradic
#5FA01B #1BA09F #5C1BA0 #A01B1D
square
#5FA01B #1BA09F #5C1BA0 #A01B1D
split-complementary
#5FA01B #1B1DA0 #9F1BA0
monochromatic
#213709 #406C12 #5FA01B #7ED424 #9CE253
Accessibility & contrast
On white
3.22
#5FA01B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#5FA01B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA01B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA01B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA01B | 1.00 | 3.22 | 6.53 | 6.53 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E2B
Tritanopia (blue-blind)
#5F9988
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5fa01b; /* rgb */ color: rgb(95, 160, 27); /* oklch */ color: oklch(63.8% 0.170 133.2);
Tailwind
colors: {
custom: {
50: '#92bc65',
500: '#5fa01b',
950: '#000000',
},
}SCSS
$custom: #5fa01b; $custom-light: #92bc65; $custom-dark: #000000;
JSON
{
"hex": "#5fa01b",
"rgb": {
"r": 95,
"g": 160,
"b": 27
},
"hsl": {
"h": 89.323,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.63769,
"c": 0.17044,
"h": 133.2
},
"luminance": 0.27654
}Semantic roles & 50–950 ramp
primary
#5FA01B
secondary
#8A52C5
accent
#3AEE92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A