#42A431#42A431

#42A431 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.177 H 140.9°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#42A431
RGBrgb(66, 164, 49)
HSLhsl(111, 54%, 42%)
HSVhsv(111, 70%, 64%)
CMYKcmyk(59.8%, 0%, 70.1%, 35.7%)
CIE-LABlab(59.83, -50.32, 48.94)
CIE-LCHlch(59.83, 70.19, 135.80°)
OKLaboklab(63.7% -0.1376 0.1118)
OKLCHoklch(63.7% 0.177 140.9)
XYZxyz(16.0758, 27.9295, 7.4489)
Luminance0.2793 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A431 #9331A4
analogous
#7CA431 #42A431 #31A459
triadic
#42A431 #3142A4 #A43142
tetradic
#42A431 #317CA4 #9331A4 #A45931
square
#42A431 #317CA4 #9331A4 #A45931
split-complementary
#42A431 #5931A4 #A4317C
monochromatic
#1C4615 #2F7523 #42A431 #5CC949 #87D779

Accessibility & contrast

On white

3.19
#42A431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#42A431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A431
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A431#FFFFFF#000000##000000
##42A4311.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9C8D3C
Tritanopia (blue-blind)
#349F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a431;
/* rgb */ color: rgb(66, 164, 49);
/* oklch */ color: oklch(63.7% 0.177 140.9);
Tailwind
colors: {
  custom: {
    50: '#82c06f',
    500: '#42a431',
    950: '#000000',
  },
}
SCSS
$custom: #42a431;
$custom-light: #82c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a431",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 111.13,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63697,
    "c": 0.1773,
    "h": 140.9
  },
  "luminance": 0.27931
}

Semantic roles & 50–950 ramp

primary
#42A431
secondary
#B472BF
accent
#4ADDC8
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A431

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

Preview Lab → · Contrast checker → · Palette generator →

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