#42AC2C#42AC2C
#42AC2C is a light, vivid green. Relative luminance 0.308; OKLCH L 65.8% C 0.190 H 140.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #42AC2C |
|---|---|
| RGB | rgb(66, 172, 44) |
| HSL | hsl(110, 59%, 42%) |
| HSV | hsv(110, 74%, 67%) |
| CMYK | cmyk(61.6%, 0%, 74.4%, 32.5%) |
| CIE-LAB | lab(62.38, -53.63, 53.45) |
| CIE-LCH | lch(62.38, 75.72, 135.10°) |
| OKLab | oklab(65.79% -0.1469 0.1206) |
| OKLCH | oklch(65.79% 0.19 140.6) |
| XYZ | xyz(17.4531, 30.8435, 7.4160) |
| Luminance | 0.3085 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 2.54
Grass
#5CAC2D
ΔE00 2.77
Kelly Green (survey)
#02AB2E
ΔE00 3.10
Leafy Green
#51B73B
ΔE00 3.41
Lawn Green
#4DA409
ΔE00 3.73
Mid Green
#50A747
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42AC2C #962CAC
analogous
#82AC2C #42AC2C #2CAC56
triadic
#42AC2C #2C42AC #AC2C42
tetradic
#42AC2C #2C82AC #962CAC #AC562C
square
#42AC2C #2C82AC #962CAC #AC562C
split-complementary
#42AC2C #562CAC #AC2C82
monochromatic
#1D4B13 #2F7B20 #42AC2C #5DD046 #88DC76
Accessibility & contrast
On white
2.93
#42AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#42AC2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #42AC2C
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42AC2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##42AC2C | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C13
Deuteranopia (green-blind)
#A49339
Tritanopia (blue-blind)
#32A693
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #42ac2c; /* rgb */ color: rgb(66, 172, 44); /* oklch */ color: oklch(65.8% 0.190 140.6);
Tailwind
colors: {
custom: {
50: '#83c66e',
500: '#42ac2c',
950: '#000000',
},
}SCSS
$custom: #42ac2c; $custom-light: #83c66e; $custom-dark: #000000;
JSON
{
"hex": "#42ac2c",
"rgb": {
"r": 66,
"g": 172,
"b": 44
},
"hsl": {
"h": 109.688,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.65794,
"c": 0.19001,
"h": 140.6
},
"luminance": 0.30845
}Semantic roles & 50–950 ramp
primary
#42AC2C
secondary
#B570C4
accent
#45E2C7
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1308
muted
#7D827B