#42C17F#42C17F
#42C17F is a light, vivid green. Relative luminance 0.408; OKLCH L 72.5% C 0.148 H 156.6°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #42C17F |
|---|---|
| RGB | rgb(66, 193, 127) |
| HSL | hsl(149, 51%, 51%) |
| HSV | hsv(149, 66%, 76%) |
| CMYK | cmyk(65.8%, 0%, 34.2%, 24.3%) |
| CIE-LAB | lab(70.06, -49.95, 23.30) |
| CIE-LCH | lch(70.06, 55.11, 154.99°) |
| OKLab | oklab(72.46% -0.1355 0.0587) |
| OKLCH | oklch(72.46% 0.148 156.6) |
| XYZ | xyz(25.1452, 40.8278, 26.6299) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish Teal
#32BF84
ΔE00 2.01
Dark Mint Green
#20C073
ΔE00 2.44
Dark Mint
#48C072
ΔE00 2.65
Greenblue
#23C48B
ΔE00 3.09
Algae Green
#21C36F
ΔE00 3.33
Emerald
#50C878
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C17F #C14284
analogous
#44C142 #42C17F #42C1BF
triadic
#42C17F #7F42C1 #C17F42
tetradic
#42C17F #4244C1 #C14284 #C1BF42
square
#42C17F #4244C1 #C14284 #C1BF42
split-complementary
#42C17F #BF42C1 #C14244
monochromatic
#226743 #319561 #42C17F #70D09E #9EDFBD
Accessibility & contrast
On white
2.29
#42C17F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#42C17F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C17F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C17F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C17F | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0B27B
Deuteranopia (green-blind)
#AFA783
Tritanopia (blue-blind)
#00BFB0
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c17f; /* rgb */ color: rgb(66, 193, 127); /* oklch */ color: oklch(72.5% 0.148 156.6);
Tailwind
colors: {
custom: {
50: '#85d5a4',
500: '#42c17f',
950: '#000000',
},
}SCSS
$custom: #42c17f; $custom-light: #85d5a4; $custom-dark: #000000;
JSON
{
"hex": "#42c17f",
"rgb": {
"r": 66,
"g": 193,
"b": 127
},
"hsl": {
"h": 148.819,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.72461,
"c": 0.14769,
"h": 156.6
},
"luminance": 0.4083
}Semantic roles & 50–950 ramp
primary
#42C17F
secondary
#CC93B1
accent
#4E97DA
background
#F8FDFA
surface
#F0FAF4
border
#CBD3CE
text
#0C140F
muted
#7D837F