#42C874#42C874
#42C874 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.167 H 152.0°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #42C874 |
|---|---|
| RGB | rgb(66, 200, 116) |
| HSL | hsl(142, 55%, 52%) |
| HSV | hsv(142, 67%, 78%) |
| CMYK | cmyk(67%, 0%, 42%, 21.6%) |
| CIE-LAB | lab(72.04, -54.71, 31.69) |
| CIE-LCH | lch(72.04, 63.23, 149.92°) |
| OKLab | oklab(74.04% -0.1476 0.0784) |
| OKLCH | oklch(74.04% 0.167 152) |
| XYZ | xyz(26.0513, 43.7250, 23.5864) |
| Luminance | 0.4373 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.06
Algae Green
#21C36F
ΔE00 2.07
Dark Mint
#48C072
ΔE00 2.16
Seaweed
#18D17B
ΔE00 2.80
Dark Mint Green
#20C073
ΔE00 3.00
Cool Green
#33B864
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C874 #C84296
analogous
#53C842 #42C874 #42C8B7
triadic
#42C874 #7442C8 #C87442
tetradic
#42C874 #4253C8 #C84296 #C8B742
square
#42C874 #4253C8 #C84296 #C8B742
split-complementary
#42C874 #B742C8 #C84253
monochromatic
#206F3E #2E9F58 #42C874 #71D697 #A1E4BA
Accessibility & contrast
On white
2.15
#42C874 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.75
#42C874 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C874
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C874 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C874 | 1.00 | 2.15 | 9.75 | 9.75 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B86E
Deuteranopia (green-blind)
#B8AC7A
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #42c874; /* rgb */ color: rgb(66, 200, 116); /* oklch */ color: oklch(74.0% 0.167 152.0);
Tailwind
colors: {
custom: {
50: '#86da9d',
500: '#42c874',
950: '#000000',
},
}SCSS
$custom: #42c874; $custom-light: #86da9d; $custom-dark: #000000;
JSON
{
"hex": "#42c874",
"rgb": {
"r": 66,
"g": 200,
"b": 116
},
"hsl": {
"h": 142.388,
"s": 54.918,
"l": 52.157
},
"oklch": {
"l": 0.74036,
"c": 0.16714,
"h": 152
},
"luminance": 0.43728
}Semantic roles & 50–950 ramp
primary
#42C874
secondary
#D096BA
accent
#4AA7DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E