#42B762#42B762
#42B762 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.3% C 0.161 H 149.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #42B762 |
|---|---|
| RGB | rgb(66, 183, 98) |
| HSL | hsl(136, 47%, 49%) |
| HSV | hsv(136, 64%, 72%) |
| CMYK | cmyk(63.9%, 0%, 46.4%, 28.2%) |
| CIE-LAB | lab(66.45, -51.28, 33.71) |
| CIE-LCH | lch(66.45, 61.36, 146.68°) |
| OKLab | oklab(69.34% -0.1384 0.0825) |
| OKLCH | oklch(69.34% 0.161 149.2) |
| XYZ | xyz(21.3833, 35.9049, 17.3563) |
| Luminance | 0.3591 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.15
Dark Mint
#48C072
ΔE00 3.01
Fern
#63B76C
ΔE00 3.28
Boring Green
#63B365
ΔE00 3.48
Dark Pastel Green
#56AE57
ΔE00 3.54
Shamrock
#01B44C
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42B762 #B74297
analogous
#5DB742 #42B762 #42B79D
triadic
#42B762 #6242B7 #B76242
tetradic
#42B762 #425DB7 #B74297 #B79D42
square
#42B762 #425DB7 #B74297 #B79D42
split-complementary
#42B762 #9D42B7 #B7425D
monochromatic
#225D32 #328A4A #42B762 #6CCA86 #99DAAB
Accessibility & contrast
On white
2.57
#42B762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#42B762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42B762
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42B762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42B762 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A85B
Deuteranopia (green-blind)
#AA9D68
Tritanopia (blue-blind)
#1AB4A3
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #42b762; /* rgb */ color: rgb(66, 183, 98); /* oklch */ color: oklch(69.3% 0.161 149.2);
Tailwind
colors: {
custom: {
50: '#83cd90',
500: '#42b762',
950: '#000000',
},
}SCSS
$custom: #42b762; $custom-light: #83cd90; $custom-dark: #000000;
JSON
{
"hex": "#42b762",
"rgb": {
"r": 66,
"g": 183,
"b": 98
},
"hsl": {
"h": 136.41,
"s": 46.988,
"l": 48.824
},
"oklch": {
"l": 0.69337,
"c": 0.16111,
"h": 149.2
},
"luminance": 0.35907
}Semantic roles & 50–950 ramp
primary
#42B762
secondary
#C68FB7
accent
#51B2D7
background
#F8FCF8
surface
#F0F9F0
border
#CBD2CB
text
#0C140C
muted
#7D827D