#42CF7F#42CF7F
#42CF7F is a light, vivid green. Relative luminance 0.473; OKLCH L 76.0% C 0.166 H 154.1°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #42CF7F |
|---|---|
| RGB | rgb(66, 207, 127) |
| HSL | hsl(146, 59%, 54%) |
| HSV | hsv(146, 68%, 81%) |
| CMYK | cmyk(68.1%, 0%, 38.6%, 18.8%) |
| CIE-LAB | lab(74.39, -55.39, 29.10) |
| CIE-LCH | lch(74.39, 62.57, 152.28°) |
| OKLab | oklab(76.03% -0.1496 0.0726) |
| OKLCH | oklch(76.03% 0.166 154.1) |
| XYZ | xyz(28.3878, 47.3131, 27.7108) |
| Luminance | 0.4732 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Seaweed
#18D17B
ΔE00 1.71
Emerald
#50C878
ΔE00 2.12
Algae Green
#21C36F
ΔE00 3.57
Dark Mint
#48C072
ΔE00 3.89
Dark Mint Green
#20C073
ΔE00 4.20
Tealish Green
#0CDC73
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42CF7F #CF4292
analogous
#4BCF42 #42CF7F #42CFC5
triadic
#42CF7F #7F42CF #CF7F42
tetradic
#42CF7F #424BCF #CF4292 #CFC542
square
#42CF7F #424BCF #CF4292 #CFC542
split-complementary
#42CF7F #C542CF #CF424B
monochromatic
#1F7845 #2BA961 #42CF7F #73DBA0 #A4E8C1
Accessibility & contrast
On white
2.01
#42CF7F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.46
#42CF7F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42CF7F
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42CF7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42CF7F | 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)
#CFBE7A
Deuteranopia (green-blind)
#BDB284
Tritanopia (blue-blind)
#00CDBB
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #42cf7f; /* rgb */ color: rgb(66, 207, 127); /* oklch */ color: oklch(76.0% 0.166 154.1);
Tailwind
colors: {
custom: {
50: '#87dfa5',
500: '#42cf7f',
950: '#000000',
},
}SCSS
$custom: #42cf7f; $custom-light: #87dfa5; $custom-dark: #000000;
JSON
{
"hex": "#42cf7f",
"rgb": {
"r": 66,
"g": 207,
"b": 127
},
"hsl": {
"h": 145.957,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.76026,
"c": 0.1663,
"h": 154.1
},
"luminance": 0.47316
}Semantic roles & 50–950 ramp
primary
#42CF7F
secondary
#D598BA
accent
#459FE3
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F