#42A63E#42A63E

#42A63E is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.170 H 142.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#42A63E
RGBrgb(66, 166, 62)
HSLhsl(118, 46%, 45%)
HSVhsv(118, 63%, 65%)
CMYKcmyk(60.2%, 0%, 62.7%, 34.9%)
CIE-LABlab(60.58, -49.77, 44.19)
CIE-LCHlch(60.58, 66.56, 138.40°)
OKLaboklab(64.36% -0.1354 0.1032)
OKLCHoklch(64.36% 0.17 142.7)
XYZxyz(16.7516, 28.7769, 9.2282)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A63E #A23EA6
analogous
#76A63E #42A63E #3EA66E
triadic
#42A63E #3E42A6 #A63E42
tetradic
#42A63E #3E76A6 #A23EA6 #A66E3E
square
#42A63E #3E76A6 #A23EA6 #A66E3E
split-complementary
#42A63E #6E3EA6 #A63E76
monochromatic
#1F4D1D #30792D #42A63E #62C35E #8ED48B

Accessibility & contrast

On white

3.11
#42A63E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#42A63E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A63E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A63E#FFFFFF#000000##000000
##42A63E1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9732
Deuteranopia (green-blind)
#9D8F47
Tritanopia (blue-blind)
#31A190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a63e;
/* rgb */ color: rgb(66, 166, 62);
/* oklch */ color: oklch(64.4% 0.170 142.7);
Tailwind
colors: {
  custom: {
    50: '#81c177',
    500: '#42a63e',
    950: '#000000',
  },
}
SCSS
$custom: #42a63e;
$custom-light: #81c177;
$custom-dark: #000000;
JSON
{
  "hex": "#42a63e",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 117.692,
    "s": 45.614,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6436,
    "c": 0.17027,
    "h": 142.7
  },
  "luminance": 0.28778
}

Semantic roles & 50–950 ramp

primary
#42A63E
secondary
#BC82BE
accent
#53D5D0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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