#42A331#42A331

#42A331 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.176 H 140.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#42A331
RGBrgb(66, 163, 49)
HSLhsl(111, 54%, 42%)
HSVhsv(111, 70%, 64%)
CMYKcmyk(59.5%, 0%, 69.9%, 36.1%)
CIE-LABlab(59.50, -49.95, 48.59)
CIE-LCHlch(59.50, 69.69, 135.79°)
OKLaboklab(63.43% -0.1366 0.1111)
OKLCHoklch(63.43% 0.176 140.9)
XYZxyz(15.8976, 27.5730, 7.3895)
Luminance0.2757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A331 #9231A3
analogous
#7BA331 #42A331 #31A359
triadic
#42A331 #3142A3 #A33142
tetradic
#42A331 #317BA3 #9231A3 #A35931
square
#42A331 #317BA3 #9231A3 #A35931
split-complementary
#42A331 #5931A3 #A3317B
monochromatic
#1C4515 #2F7423 #42A331 #5CC849 #86D678

Accessibility & contrast

On white

3.22
#42A331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#42A331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A331
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A331#FFFFFF#000000##000000
##42A3311.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79420
Deuteranopia (green-blind)
#9B8C3C
Tritanopia (blue-blind)
#349E8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #42a331;
/* rgb */ color: rgb(66, 163, 49);
/* oklch */ color: oklch(63.4% 0.176 140.9);
Tailwind
colors: {
  custom: {
    50: '#81bf6f',
    500: '#42a331',
    950: '#000000',
  },
}
SCSS
$custom: #42a331;
$custom-light: #81bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a331",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 111.053,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.6343,
    "c": 0.17607,
    "h": 140.9
  },
  "luminance": 0.27574
}

Semantic roles & 50–950 ramp

primary
#42A331
secondary
#B371BF
accent
#4BDDC7
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A331

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

Preview Lab → · Contrast checker → · Palette generator →

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