#42C261#42C261
#42C261 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.177 H 148.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #42C261 |
|---|---|
| RGB | rgb(66, 194, 97) |
| HSL | hsl(135, 51%, 51%) |
| HSV | hsv(135, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 50%, 23.9%) |
| CIE-LAB | lab(69.90, -55.56, 38.54) |
| CIE-LCH | lch(69.90, 67.62, 145.25°) |
| OKLab | oklab(72.18% -0.1498 0.0934) |
| OKLCH | oklch(72.18% 0.177 148.1) |
| XYZ | xyz(23.6945, 40.6024, 17.8953) |
| Luminance | 0.4061 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.00
Dark Mint
#48C072
ΔE00 3.13
Algae Green
#21C36F
ΔE00 3.23
Cool Green
#33B864
ΔE00 3.44
Emerald
#50C878
ΔE00 3.50
Dark Mint Green
#20C073
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C261 #C242A3
analogous
#63C242 #42C261 #42C2A1
triadic
#42C261 #6142C2 #C26142
tetradic
#42C261 #4263C2 #C242A3 #C2A142
square
#42C261 #4263C2 #C242A3 #C2A142
split-complementary
#42C261 #A142C2 #C24263
monochromatic
#226833 #319649 #42C261 #70D188 #9FE0AE
Accessibility & contrast
On white
2.30
#42C261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#42C261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C261
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C261 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B159
Deuteranopia (green-blind)
#B4A668
Tritanopia (blue-blind)
#11BEAB
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c261; /* rgb */ color: rgb(66, 194, 97); /* oklch */ color: oklch(72.2% 0.177 148.1);
Tailwind
colors: {
custom: {
50: '#85d590',
500: '#42c261',
950: '#000000',
},
}SCSS
$custom: #42c261; $custom-light: #85d590; $custom-dark: #000000;
JSON
{
"hex": "#42c261",
"rgb": {
"r": 66,
"g": 194,
"b": 97
},
"hsl": {
"h": 134.531,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72176,
"c": 0.17657,
"h": 148.1
},
"luminance": 0.40605
}Semantic roles & 50–950 ramp
primary
#42C261
secondary
#CC94BF
accent
#4DB8DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D