#42C262#42C262
#42C262 is a light, vivid green. Relative luminance 0.406; OKLCH L 72.2% C 0.176 H 148.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #42C262 |
|---|---|
| RGB | rgb(66, 194, 98) |
| HSL | hsl(135, 51%, 51%) |
| HSV | hsv(135, 66%, 76%) |
| CMYK | cmyk(66%, 0%, 49.5%, 23.9%) |
| CIE-LAB | lab(69.91, -55.41, 38.07) |
| CIE-LCH | lch(69.91, 67.23, 145.51°) |
| OKLab | oklab(72.19% -0.1494 0.0924) |
| OKLCH | oklch(72.19% 0.176 148.3) |
| XYZ | xyz(23.7414, 40.6212, 18.1424) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.98
Algae Green
#21C36F
ΔE00 3.09
Shamrock Green
#02C14D
ΔE00 3.11
Cool Green
#33B864
ΔE00 3.36
Emerald
#50C878
ΔE00 3.37
Dark Mint Green
#20C073
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42C262 #C242A2
analogous
#62C242 #42C262 #42C2A2
triadic
#42C262 #6242C2 #C26242
tetradic
#42C262 #4262C2 #C242A2 #C2A242
square
#42C262 #4262C2 #C242A2 #C2A242
split-complementary
#42C262 #A242C2 #C24262
monochromatic
#226833 #31964A #42C262 #70D188 #9FE0AF
Accessibility & contrast
On white
2.30
#42C262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#42C262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42C262
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42C262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42C262 | 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)
#C4B25A
Deuteranopia (green-blind)
#B4A669
Tritanopia (blue-blind)
#10BEAC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #42c262; /* rgb */ color: rgb(66, 194, 98); /* oklch */ color: oklch(72.2% 0.176 148.3);
Tailwind
colors: {
custom: {
50: '#85d590',
500: '#42c262',
950: '#000000',
},
}SCSS
$custom: #42c262; $custom-light: #85d590; $custom-dark: #000000;
JSON
{
"hex": "#42c262",
"rgb": {
"r": 66,
"g": 194,
"b": 98
},
"hsl": {
"h": 135,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.72191,
"c": 0.17567,
"h": 148.3
},
"luminance": 0.40624
}Semantic roles & 50–950 ramp
primary
#42C262
secondary
#CC94BE
accent
#4DB7DB
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140D
muted
#7D837D