#42B366#42B366
#42B366 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.4% C 0.152 H 150.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #42B366 |
|---|---|
| RGB | rgb(66, 179, 102) |
| HSL | hsl(139, 46%, 48%) |
| HSV | hsv(139, 63%, 70%) |
| CMYK | cmyk(63.1%, 0%, 43%, 29.8%) |
| CIE-LAB | lab(65.24, -49.06, 30.10) |
| CIE-LCH | lch(65.24, 57.55, 148.47°) |
| OKLab | oklab(68.37% -0.1325 0.0743) |
| OKLCH | oklch(68.37% 0.152 150.7) |
| XYZ | xyz(20.7635, 34.3557, 18.1049) |
| Luminance | 0.3436 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.80
Mediumseagreen
#3CB371
ΔE00 2.40
Jade Green
#2BAF6A
ΔE00 2.62
Algae
#54AC68
ΔE00 2.76
Seaweed Green
#35AD6B
ΔE00 2.90
Fern
#63B76C
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B366 #B3428F
analogous
#57B342 #42B366 #42B39E
triadic
#42B366 #6642B3 #B36642
tetradic
#42B366 #4257B3 #B3428F #B39E42
square
#42B366 #4257B3 #B3428F #B39E42
split-complementary
#42B366 #9E42B3 #B34257
monochromatic
#215A33 #32864D #42B366 #6AC888 #97D9AC
Accessibility & contrast
On white
2.67
#42B366 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#42B366 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B366
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B366 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B366 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A560
Deuteranopia (green-blind)
#A59A6B
Tritanopia (blue-blind)
#1AB0A0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #42b366; /* rgb */ color: rgb(66, 179, 102); /* oklch */ color: oklch(68.4% 0.152 150.7);
Tailwind
colors: {
custom: {
50: '#82cb92',
500: '#42b366',
950: '#000000',
},
}SCSS
$custom: #42b366; $custom-light: #82cb92; $custom-dark: #000000;
JSON
{
"hex": "#42b366",
"rgb": {
"r": 66,
"g": 179,
"b": 102
},
"hsl": {
"h": 139.115,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.68366,
"c": 0.15191,
"h": 150.7
},
"luminance": 0.34358
}Semantic roles & 50–950 ramp
primary
#42B366
secondary
#C48CB3
accent
#52ACD6
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0C130D
muted
#7D827E