#5FA01C#5FA01C
#5FA01C is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.170 H 133.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA01C |
|---|---|
| RGB | rgb(95, 160, 28) |
| HSL | hsl(90, 70%, 37%) |
| HSV | hsv(90, 83%, 63%) |
| CMYK | cmyk(40.6%, 0%, 82.5%, 37.3%) |
| CIE-LAB | lab(59.58, -41.32, 56.31) |
| CIE-LCH | lch(59.58, 69.84, 126.27°) |
| OKLab | oklab(63.77% -0.1166 0.1238) |
| OKLCH | oklch(63.77% 0.17 133.3) |
| XYZ | xyz(17.4995, 27.6575, 5.5148) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.54
Leaf Green
#5CA904
ΔE00 3.04
Grassy Green
#419C03
ΔE00 3.67
Leaf
#71AA34
ΔE00 3.83
Grass
#5CAC2D
ΔE00 3.92
Grass Green
#3F9B0B
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA01C #5D1CA0
analogous
#A09F1C #5FA01C #1DA01C
triadic
#5FA01C #1C5FA0 #A01C5F
tetradic
#5FA01C #1CA09F #5D1CA0 #A01C1D
square
#5FA01C #1CA09F #5D1CA0 #A01C1D
split-complementary
#5FA01C #1C1DA0 #9F1CA0
monochromatic
#21380A #406C13 #5FA01C #7ED425 #9CE155
Accessibility & contrast
On white
3.22
#5FA01C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#5FA01C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA01C
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA01C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA01C | 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)
#9E8E2C
Tritanopia (blue-blind)
#5F9988
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #5fa01c; /* rgb */ color: rgb(95, 160, 28); /* oklch */ color: oklch(63.8% 0.170 133.3);
Tailwind
colors: {
custom: {
50: '#92bc65',
500: '#5fa01c',
950: '#000000',
},
}SCSS
$custom: #5fa01c; $custom-light: #92bc65; $custom-dark: #000000;
JSON
{
"hex": "#5fa01c",
"rgb": {
"r": 95,
"g": 160,
"b": 28
},
"hsl": {
"h": 89.545,
"s": 70.213,
"l": 36.863
},
"oklch": {
"l": 0.63774,
"c": 0.17002,
"h": 133.3
},
"luminance": 0.27658
}Semantic roles & 50–950 ramp
primary
#5FA01C
secondary
#8B53C4
accent
#3BED93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A