#42B266#42B266
#42B266 is a light, vivid green. Relative luminance 0.340; OKLCH L 68.1% C 0.151 H 150.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #42B266 |
|---|---|
| RGB | rgb(66, 178, 102) |
| HSL | hsl(139, 46%, 48%) |
| HSV | hsv(139, 63%, 70%) |
| CMYK | cmyk(62.9%, 0%, 42.7%, 30.2%) |
| CIE-LAB | lab(64.93, -48.66, 29.69) |
| CIE-LCH | lch(64.93, 57.00, 148.61°) |
| OKLab | oklab(68.11% -0.1314 0.0734) |
| OKLCH | oklch(68.11% 0.151 150.8) |
| XYZ | xyz(20.5638, 33.9563, 18.0383) |
| Luminance | 0.3396 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 2.07
Mediumseagreen
#3CB371
ΔE00 2.29
Jade Green
#2BAF6A
ΔE00 2.42
Algae
#54AC68
ΔE00 2.53
Seaweed Green
#35AD6B
ΔE00 2.64
Fern
#63B76C
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B266 #B2428E
analogous
#56B242 #42B266 #42B29E
triadic
#42B266 #6642B2 #B26642
tetradic
#42B266 #4256B2 #B2428E #B29E42
square
#42B266 #4256B2 #B2428E #B29E42
split-complementary
#42B266 #9E42B2 #B24256
monochromatic
#215933 #31854C #42B266 #6AC888 #96D8AB
Accessibility & contrast
On white
2.70
#42B266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#42B266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B266
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B266 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A460
Deuteranopia (green-blind)
#A49A6B
Tritanopia (blue-blind)
#1AAF9F
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #42b266; /* rgb */ color: rgb(66, 178, 102); /* oklch */ color: oklch(68.1% 0.151 150.8);
Tailwind
colors: {
custom: {
50: '#82ca92',
500: '#42b266',
950: '#000000',
},
}SCSS
$custom: #42b266; $custom-light: #82ca92; $custom-dark: #000000;
JSON
{
"hex": "#42b266",
"rgb": {
"r": 66,
"g": 178,
"b": 102
},
"hsl": {
"h": 139.286,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.68106,
"c": 0.15053,
"h": 150.8
},
"luminance": 0.33958
}Semantic roles & 50–950 ramp
primary
#42B266
secondary
#C48CB2
accent
#52ABD6
background
#F8FCF9
surface
#F0F8F1
border
#CBD1CB
text
#0B130D
muted
#7C827E