#42B960#42B960
#42B960 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.166 H 148.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #42B960 |
|---|---|
| RGB | rgb(66, 185, 96) |
| HSL | hsl(135, 47%, 49%) |
| HSV | hsv(135, 64%, 73%) |
| CMYK | cmyk(64.3%, 0%, 48.1%, 27.5%) |
| CIE-LAB | lab(67.05, -52.36, 35.49) |
| CIE-LCH | lch(67.05, 63.25, 145.87°) |
| OKLab | oklab(69.82% -0.1413 0.0865) |
| OKLCH | oklch(69.82% 0.166 148.5) |
| XYZ | xyz(21.7055, 36.6985, 17.0037) |
| Luminance | 0.3670 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.52
Dark Mint
#48C072
ΔE00 3.00
Shamrock
#01B44C
ΔE00 3.43
Fern
#63B76C
ΔE00 3.49
Algae Green
#21C36F
ΔE00 3.68
Boring Green
#63B365
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B960 #B9429B
analogous
#60B942 #42B960 #42B99C
triadic
#42B960 #6042B9 #B96042
tetradic
#42B960 #4260B9 #B9429B #B99C42
square
#42B960 #4260B9 #B9429B #B99C42
split-complementary
#42B960 #9C42B9 #B94260
monochromatic
#225F31 #328C49 #42B960 #6DCB85 #9ADBAB
Accessibility & contrast
On white
2.52
#42B960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.34
#42B960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B960
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B960 | 1.00 | 2.52 | 8.34 | 8.34 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA959
Deuteranopia (green-blind)
#AC9F66
Tritanopia (blue-blind)
#1AB5A4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #42b960; /* rgb */ color: rgb(66, 185, 96); /* oklch */ color: oklch(69.8% 0.166 148.5);
Tailwind
colors: {
custom: {
50: '#83cf8f',
500: '#42b960',
950: '#000000',
},
}SCSS
$custom: #42b960; $custom-light: #83cf8f; $custom-dark: #000000;
JSON
{
"hex": "#42b960",
"rgb": {
"r": 66,
"g": 185,
"b": 96
},
"hsl": {
"h": 135.126,
"s": 47.41,
"l": 49.216
},
"oklch": {
"l": 0.69824,
"c": 0.16563,
"h": 148.5
},
"luminance": 0.36701
}Semantic roles & 50–950 ramp
primary
#42B960
secondary
#C790B9
accent
#51B5D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D