#42A62C#42A62C

#42A62C is a light, vivid green. Relative luminance 0.286; OKLCH L 64.2% C 0.183 H 140.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#42A62C
RGBrgb(66, 166, 44)
HSLhsl(109, 58%, 41%)
HSVhsv(109, 73%, 65%)
CMYKcmyk(60.2%, 0%, 73.5%, 34.9%)
CIE-LABlab(60.44, -51.47, 51.50)
CIE-LCHlch(60.44, 72.81, 134.98°)
OKLaboklab(64.19% -0.141 0.1165)
OKLCHoklch(64.19% 0.183 140.4)
XYZxyz(16.3368, 28.6110, 7.0440)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A62C #902CA6
analogous
#7FA62C #42A62C #2CA653
triadic
#42A62C #2C42A6 #A62C42
tetradic
#42A62C #2C7FA6 #902CA6 #A6532C
square
#42A62C #2C7FA6 #902CA6 #A6532C
split-complementary
#42A62C #532CA6 #A62C7F
monochromatic
#1C4512 #2F761F #42A62C #5BCD42 #85DA73

Accessibility & contrast

On white

3.12
#42A62C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#42A62C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A62C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A62C#FFFFFF#000000##000000
##42A62C1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9716
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#34A18E
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a62c;
/* rgb */ color: rgb(66, 166, 44);
/* oklch */ color: oklch(64.2% 0.183 140.4);
Tailwind
colors: {
  custom: {
    50: '#82c16d',
    500: '#42a62c',
    950: '#000000',
  },
}
SCSS
$custom: #42a62c;
$custom-light: #82c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a62c",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 109.18,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.18291,
    "h": 140.4
  },
  "luminance": 0.28613
}

Semantic roles & 50–950 ramp

primary
#42A62C
secondary
#B26DC1
accent
#46E1C5
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A62C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#42A62C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva