#42C755#42C755
#42C755 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.193 H 145.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #42C755 |
|---|---|
| RGB | rgb(66, 199, 85) |
| HSL | hsl(129, 54%, 52%) |
| HSV | hsv(129, 67%, 78%) |
| CMYK | cmyk(66.8%, 0%, 57.3%, 22%) |
| CIE-LAB | lab(71.32, -59.01, 46.03) |
| CIE-LCH | lch(71.32, 74.84, 142.05°) |
| OKLab | oklab(73.31% -0.1594 0.1092) |
| OKLCH | oklch(73.31% 0.193 145.6) |
| XYZ | xyz(24.3083, 42.6584, 15.5454) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.73
Lime Green
#32CD32
ΔE00 4.28
Leafy Green
#51B73B
ΔE00 5.15
Emerald
#50C878
ΔE00 5.31
Algae Green
#21C36F
ΔE00 5.41
Dark Mint
#48C072
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C755 #C742B4
analogous
#72C742 #42C755 #42C797
triadic
#42C755 #5542C7 #C75542
tetradic
#42C755 #4272C7 #C742B4 #C79742
square
#42C755 #4272C7 #C742B4 #C79742
split-complementary
#42C755 #9742C7 #C74272
monochromatic
#216E2C #2F9D3E #42C755 #71D57F #A0E3AA
Accessibility & contrast
On white
2.20
#42C755 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#42C755 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C755
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C755 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C755 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB54A
Deuteranopia (green-blind)
#BAAA5E
Tritanopia (blue-blind)
#17C2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #42c755; /* rgb */ color: rgb(66, 199, 85); /* oklch */ color: oklch(73.3% 0.193 145.6);
Tailwind
colors: {
custom: {
50: '#87d988',
500: '#42c755',
950: '#000000',
},
}SCSS
$custom: #42c755; $custom-light: #87d988; $custom-dark: #000000;
JSON
{
"hex": "#42c755",
"rgb": {
"r": 66,
"g": 199,
"b": 85
},
"hsl": {
"h": 128.571,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.73307,
"c": 0.19324,
"h": 145.6
},
"luminance": 0.42661
}Semantic roles & 50–950 ramp
primary
#42C755
secondary
#D095C7
accent
#4AC9DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0D150C
muted
#7D837D