#42CF7E#42CF7E
#42CF7E is a light, vivid green. Relative luminance 0.473; OKLCH L 76.0% C 0.167 H 153.8°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #42CF7E |
|---|---|
| RGB | rgb(66, 207, 126) |
| HSL | hsl(146, 59%, 54%) |
| HSV | hsv(146, 68%, 81%) |
| CMYK | cmyk(68.1%, 0%, 39.1%, 18.8%) |
| CIE-LAB | lab(74.37, -55.57, 29.59) |
| CIE-LCH | lch(74.37, 62.96, 151.96°) |
| OKLab | oklab(76.01% -0.1501 0.0737) |
| OKLCH | oklch(76.01% 0.167 153.8) |
| XYZ | xyz(28.3230, 47.2871, 27.3693) |
| Luminance | 0.4729 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Seaweed
#18D17B
ΔE00 1.67
Emerald
#50C878
ΔE00 2.06
Algae Green
#21C36F
ΔE00 3.53
Dark Mint
#48C072
ΔE00 3.86
Dark Mint Green
#20C073
ΔE00 4.21
Tealish Green
#0CDC73
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42CF7E #CF4293
analogous
#4CCF42 #42CF7E #42CFC5
triadic
#42CF7E #7E42CF #CF7E42
tetradic
#42CF7E #424CCF #CF4293 #CFC542
square
#42CF7E #424CCF #CF4293 #CFC542
split-complementary
#42CF7E #C542CF #CF424C
monochromatic
#1F7845 #2BA961 #42CF7E #73DB9F #A4E8C1
Accessibility & contrast
On white
2.01
#42CF7E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#42CF7E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42CF7E
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42CF7E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42CF7E | 1.00 | 2.01 | 10.46 | 10.46 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE78
Deuteranopia (green-blind)
#BDB283
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #42cf7e; /* rgb */ color: rgb(66, 207, 126); /* oklch */ color: oklch(76.0% 0.167 153.8);
Tailwind
colors: {
custom: {
50: '#87dfa4',
500: '#42cf7e',
950: '#000000',
},
}SCSS
$custom: #42cf7e; $custom-light: #87dfa4; $custom-dark: #000000;
JSON
{
"hex": "#42cf7e",
"rgb": {
"r": 66,
"g": 207,
"b": 126
},
"hsl": {
"h": 145.532,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.76007,
"c": 0.16721,
"h": 153.8
},
"luminance": 0.4729
}Semantic roles & 50–950 ramp
primary
#42CF7E
secondary
#D598BB
accent
#45A0E3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F