#5CA42F#5CA42F
#5CA42F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.8% C 0.166 H 135.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #5CA42F |
|---|---|
| RGB | rgb(92, 164, 47) |
| HSL | hsl(97, 55%, 41%) |
| HSV | hsv(97, 71%, 64%) |
| CMYK | cmyk(43.9%, 0%, 71.3%, 35.7%) |
| CIE-LAB | lab(60.81, -42.87, 51.06) |
| CIE-LCH | lch(60.81, 66.67, 130.02°) |
| OKLab | oklab(64.78% -0.1193 0.1157) |
| OKLCH | oklch(64.78% 0.166 135.9) |
| XYZ | xyz(18.2017, 29.0304, 7.3331) |
| Luminance | 0.2903 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.44
Lawn Green
#4DA409
ΔE00 2.76
Leaf
#71AA34
ΔE00 3.40
Leaf Green
#5CA904
ΔE00 3.54
Mid Green
#50A747
ΔE00 4.12
Grassy Green
#419C03
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5CA42F #772FA4
analogous
#97A42F #5CA42F #2FA43D
triadic
#5CA42F #2F5CA4 #A42F5C
tetradic
#5CA42F #2F97A4 #772FA4 #A43D2F
square
#5CA42F #2F97A4 #772FA4 #A43D2F
split-complementary
#5CA42F #3D2FA4 #A42F97
monochromatic
#274514 #417421 #5CA42F #79CA46 #9BD876
Accessibility & contrast
On white
3.09
#5CA42F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.81
#5CA42F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5CA42F
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5CA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5CA42F | 1.00 | 3.09 | 6.81 | 6.81 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#599E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5ca42f; /* rgb */ color: rgb(92, 164, 47); /* oklch */ color: oklch(64.8% 0.166 135.9);
Tailwind
colors: {
custom: {
50: '#90bf6f',
500: '#5ca42f',
950: '#000000',
},
}SCSS
$custom: #5ca42f; $custom-light: #90bf6f; $custom-dark: #000000;
JSON
{
"hex": "#5ca42f",
"rgb": {
"r": 92,
"g": 164,
"b": 47
},
"hsl": {
"h": 96.923,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.64778,
"c": 0.16615,
"h": 135.9
},
"luminance": 0.29031
}Semantic roles & 50–950 ramp
primary
#5CA42F
secondary
#A16FC0
accent
#49DFA5
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B