#5AC042#5AC042
#5AC042 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.1% C 0.189 H 140.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5AC042 |
|---|---|
| RGB | rgb(90, 192, 66) |
| HSL | hsl(109, 50%, 51%) |
| HSV | hsv(109, 66%, 75%) |
| CMYK | cmyk(53.1%, 0%, 65.6%, 24.7%) |
| CIE-LAB | lab(69.66, -52.97, 52.72) |
| CIE-LCH | lch(69.66, 74.73, 135.14°) |
| OKLab | oklab(72.07% -0.1452 0.1216) |
| OKLCH | oklch(72.07% 0.189 140.1) |
| XYZ | xyz(24.0484, 40.2644, 11.6577) |
| Luminance | 0.4027 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 2.53
Kelly Green
#4CBB17
ΔE00 3.51
Apple
#6ECB3C
ΔE00 3.94
Turtle Green
#75B84F
ΔE00 4.08
Frog Green
#58BC08
ΔE00 4.27
Lime Green
#32CD32
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AC042 #A842C0
analogous
#99C042 #5AC042 #42C069
triadic
#5AC042 #425AC0 #C0425A
tetradic
#5AC042 #4299C0 #A842C0 #C06942
square
#5AC042 #4299C0 #A842C0 #C06942
split-complementary
#5AC042 #6942C0 #C04299
monochromatic
#2F6622 #449431 #5AC042 #82CF70 #AADF9E
Accessibility & contrast
On white
2.32
#5AC042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#5AC042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AC042
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AC042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AC042 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B032
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#4FBAA6
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #5ac042; /* rgb */ color: rgb(90, 192, 66); /* oklch */ color: oklch(72.1% 0.189 140.1);
Tailwind
colors: {
custom: {
50: '#92d47c',
500: '#5ac042',
950: '#000000',
},
}SCSS
$custom: #5ac042; $custom-light: #92d47c; $custom-dark: #000000;
JSON
{
"hex": "#5ac042",
"rgb": {
"r": 90,
"g": 192,
"b": 66
},
"hsl": {
"h": 108.571,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.72074,
"c": 0.18941,
"h": 140.1
},
"luminance": 0.40266
}Semantic roles & 50–950 ramp
primary
#5AC042
secondary
#C093CB
accent
#4EDABF
background
#F9FDF7
surface
#F2FAEE
border
#CCD3C9
text
#0E140A
muted
#7E837C