#5FA526#5FA526
#5FA526 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.1% C 0.171 H 134.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA526 |
|---|---|
| RGB | rgb(95, 165, 38) |
| HSL | hsl(93, 63%, 40%) |
| HSV | hsv(93, 77%, 65%) |
| CMYK | cmyk(42.4%, 0%, 77%, 35.3%) |
| CIE-LAB | lab(61.20, -42.89, 54.75) |
| CIE-LCH | lch(61.20, 69.55, 128.07°) |
| OKLab | oklab(65.12% -0.1202 0.122) |
| OKLCH | oklch(65.12% 0.171 134.6) |
| XYZ | xyz(18.5239, 29.4821, 6.5479) |
| Luminance | 0.2948 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.23
Lawn Green
#4DA409
ΔE00 2.30
Leaf Green
#5CA904
ΔE00 2.38
Leaf
#71AA34
ΔE00 2.79
Grassy Green
#419C03
ΔE00 4.34
Nasty Green
#70B23F
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA526 #6C26A5
analogous
#9FA526 #5FA526 #26A52C
triadic
#5FA526 #265FA5 #A5265F
tetradic
#5FA526 #269FA5 #6C26A5 #A52C26
square
#5FA526 #269FA5 #6C26A5 #A52C26
split-complementary
#5FA526 #2C26A5 #A5269F
monochromatic
#26420F #42731B #5FA526 #7CD137 #9DDC69
Accessibility & contrast
On white
3.04
#5FA526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.90
#5FA526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA526
6.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA526 | 1.00 | 3.04 | 6.90 | 6.90 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#5E9E8D
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #5fa526; /* rgb */ color: rgb(95, 165, 38); /* oklch */ color: oklch(65.1% 0.171 134.6);
Tailwind
colors: {
custom: {
50: '#93c06a',
500: '#5fa526',
950: '#000000',
},
}SCSS
$custom: #5fa526; $custom-light: #93c06a; $custom-dark: #000000;
JSON
{
"hex": "#5fa526",
"rgb": {
"r": 95,
"g": 165,
"b": 38
},
"hsl": {
"h": 93.071,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.65123,
"c": 0.17126,
"h": 134.6
},
"luminance": 0.29483
}Semantic roles & 50–950 ramp
primary
#5FA526
secondary
#9864C3
accent
#42E69C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A