#42CF7B#42CF7B
#42CF7B is a light, vivid green. Relative luminance 0.472; OKLCH L 76.0% C 0.170 H 153.0°. Best body text is #000000 at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #42CF7B |
|---|---|
| RGB | rgb(66, 207, 123) |
| HSL | hsl(144, 59%, 54%) |
| HSV | hsv(144, 68%, 81%) |
| CMYK | cmyk(68.1%, 0%, 40.6%, 18.8%) |
| CIE-LAB | lab(74.32, -56.11, 31.07) |
| CIE-LCH | lch(74.32, 64.14, 151.02°) |
| OKLab | oklab(75.95% -0.1514 0.0772) |
| OKLCH | oklch(75.95% 0.17 153) |
| XYZ | xyz(28.1323, 47.2109, 26.3650) |
| Luminance | 0.4721 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Seaweed
#18D17B
ΔE00 1.68
Emerald
#50C878
ΔE00 1.99
Algae Green
#21C36F
ΔE00 3.46
Dark Mint
#48C072
ΔE00 3.83
Tealish Green
#0CDC73
ΔE00 4.08
Dark Mint Green
#20C073
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42CF7B #CF4296
analogous
#4FCF42 #42CF7B #42CFC1
triadic
#42CF7B #7B42CF #CF7B42
tetradic
#42CF7B #424FCF #CF4296 #CFC142
square
#42CF7B #424FCF #CF4296 #CFC142
split-complementary
#42CF7B #C142CF #CF424F
monochromatic
#1F7843 #2BA95E #42CF7B #73DB9D #A4E8BF
Accessibility & contrast
On white
2.01
#42CF7B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.44
#42CF7B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42CF7B
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42CF7B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42CF7B | 1.00 | 2.01 | 10.44 | 10.44 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CFBE75
Deuteranopia (green-blind)
#BDB281
Tritanopia (blue-blind)
#00CCBA
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #42cf7b; /* rgb */ color: rgb(66, 207, 123); /* oklch */ color: oklch(76.0% 0.170 153.0);
Tailwind
colors: {
custom: {
50: '#87dfa2',
500: '#42cf7b',
950: '#000000',
},
}SCSS
$custom: #42cf7b; $custom-light: #87dfa2; $custom-dark: #000000;
JSON
{
"hex": "#42cf7b",
"rgb": {
"r": 66,
"g": 207,
"b": 123
},
"hsl": {
"h": 144.255,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.75951,
"c": 0.16995,
"h": 153
},
"luminance": 0.47214
}Semantic roles & 50–950 ramp
primary
#42CF7B
secondary
#D598BC
accent
#45A3E3
background
#F9FDFA
surface
#F1FBF3
border
#CBD4CD
text
#0D150F
muted
#7E837F