#42C662#42C662
#42C662 is a light, vivid green. Relative luminance 0.424; OKLCH L 73.2% C 0.181 H 148.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #42C662 |
|---|---|
| RGB | rgb(66, 198, 98) |
| HSL | hsl(135, 54%, 52%) |
| HSV | hsv(135, 67%, 78%) |
| CMYK | cmyk(66.7%, 0%, 50.5%, 22.4%) |
| CIE-LAB | lab(71.16, -56.87, 39.62) |
| CIE-LCH | lch(71.16, 69.32, 145.14°) |
| OKLab | oklab(73.23% -0.1534 0.0959) |
| OKLCH | oklch(73.23% 0.181 148) |
| XYZ | xyz(24.6436, 42.4257, 18.4431) |
| Luminance | 0.4243 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.14
Emerald
#50C878
ΔE00 3.40
Algae Green
#21C36F
ΔE00 3.53
Dark Mint
#48C072
ΔE00 3.67
Cool Green
#33B864
ΔE00 4.41
Seaweed
#18D17B
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C662 #C642A6
analogous
#64C642 #42C662 #42C6A4
triadic
#42C662 #6242C6 #C66242
tetradic
#42C662 #4264C6 #C642A6 #C6A442
square
#42C662 #4264C6 #C642A6 #C6A442
split-complementary
#42C662 #A442C6 #C64264
monochromatic
#216D33 #2F9C49 #42C662 #71D489 #A0E2B0
Accessibility & contrast
On white
2.21
#42C662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#42C662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C662
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C662 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#B8AA69
Tritanopia (blue-blind)
#0BC2AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #42c662; /* rgb */ color: rgb(66, 198, 98); /* oklch */ color: oklch(73.2% 0.181 148.0);
Tailwind
colors: {
custom: {
50: '#86d890',
500: '#42c662',
950: '#000000',
},
}SCSS
$custom: #42c662; $custom-light: #86d890; $custom-dark: #000000;
JSON
{
"hex": "#42c662",
"rgb": {
"r": 66,
"g": 198,
"b": 98
},
"hsl": {
"h": 134.545,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.73226,
"c": 0.18086,
"h": 148
},
"luminance": 0.42428
}Semantic roles & 50–950 ramp
primary
#42C662
secondary
#CF95C1
accent
#4BBADD
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C150D
muted
#7D837E