#42C458#42C458
#42C458 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.187 H 146.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #42C458 |
|---|---|
| RGB | rgb(66, 196, 88) |
| HSL | hsl(130, 52%, 51%) |
| HSV | hsv(130, 66%, 77%) |
| CMYK | cmyk(66.3%, 0%, 55.1%, 23.1%) |
| CIE-LAB | lab(70.41, -57.56, 43.54) |
| CIE-LCH | lch(70.41, 72.17, 142.89°) |
| OKLab | oklab(72.57% -0.1554 0.104) |
| OKLCH | oklch(72.57% 0.187 146.2) |
| XYZ | xyz(23.7465, 41.3402, 15.9586) |
| Luminance | 0.4134 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.38
Algae Green
#21C36F
ΔE00 4.67
Dark Mint
#48C072
ΔE00 4.75
Emerald
#50C878
ΔE00 4.76
Cool Green
#33B864
ΔE00 4.84
Leafy Green
#51B73B
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C458 #C442AE
analogous
#6DC442 #42C458 #42C499
triadic
#42C458 #5842C4 #C45842
tetradic
#42C458 #426DC4 #C442AE #C49942
square
#42C458 #426DC4 #C442AE #C49942
split-complementary
#42C458 #9942C4 #C4426D
monochromatic
#216A2E #309942 #42C458 #71D381 #9FE1AA
Accessibility & contrast
On white
2.27
#42C458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#42C458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C458
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C458 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B34E
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#17BFAC
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #42c458; /* rgb */ color: rgb(66, 196, 88); /* oklch */ color: oklch(72.6% 0.187 146.2);
Tailwind
colors: {
custom: {
50: '#86d78a',
500: '#42c458',
950: '#000000',
},
}SCSS
$custom: #42c458; $custom-light: #86d78a; $custom-dark: #000000;
JSON
{
"hex": "#42c458",
"rgb": {
"r": 66,
"g": 196,
"b": 88
},
"hsl": {
"h": 130.154,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.72567,
"c": 0.18699,
"h": 146.2
},
"luminance": 0.41343
}Semantic roles & 50–950 ramp
primary
#42C458
secondary
#CE94C4
accent
#4CC3DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D