#5CA227#5CA227
#5CA227 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.2% C 0.169 H 135.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5CA227 |
|---|---|
| RGB | rgb(92, 162, 39) |
| HSL | hsl(94, 61%, 39%) |
| HSV | hsv(94, 76%, 64%) |
| CMYK | cmyk(43.2%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(60.12, -42.60, 53.32) |
| CIE-LCH | lch(60.12, 68.24, 128.62°) |
| OKLab | oklab(64.2% -0.1191 0.1192) |
| OKLCH | oklch(64.2% 0.169 135) |
| XYZ | xyz(17.6998, 28.2615, 6.4414) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.30
Grass
#5CAC2D
ΔE00 3.00
Leaf Green
#5CA904
ΔE00 3.18
Leaf
#71AA34
ΔE00 3.58
Grassy Green
#419C03
ΔE00 3.63
Grass Green
#3F9B0B
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5CA227 #6D27A2
analogous
#9AA227 #5CA227 #27A22F
triadic
#5CA227 #275CA2 #A2275C
tetradic
#5CA227 #279AA2 #6D27A2 #A22F27
square
#5CA227 #279AA2 #6D27A2 #A22F27
split-complementary
#5CA227 #2F27A2 #A2279A
monochromatic
#243F0F #40711B #5CA227 #79CF37 #9ADB69
Accessibility & contrast
On white
3.16
#5CA227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#5CA227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5CA227
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5CA227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5CA227 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A8950C
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#5A9C8B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5ca227; /* rgb */ color: rgb(92, 162, 39); /* oklch */ color: oklch(64.2% 0.169 135.0);
Tailwind
colors: {
custom: {
50: '#90be6a',
500: '#5ca227',
950: '#000000',
},
}SCSS
$custom: #5ca227; $custom-light: #90be6a; $custom-dark: #000000;
JSON
{
"hex": "#5ca227",
"rgb": {
"r": 92,
"g": 162,
"b": 39
},
"hsl": {
"h": 94.146,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.64201,
"c": 0.16852,
"h": 135
},
"luminance": 0.28262
}Semantic roles & 50–950 ramp
primary
#5CA227
secondary
#9964C1
accent
#43E49F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A