#42A332#42A332

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

Color values

HEX#42A332
RGBrgb(66, 163, 50)
HSLhsl(112, 53%, 42%)
HSVhsv(112, 69%, 64%)
CMYKcmyk(59.5%, 0%, 69.3%, 36.1%)
CIE-LABlab(59.51, -49.86, 48.20)
CIE-LCHlch(59.51, 69.35, 135.97°)
OKLaboklab(63.44% -0.1363 0.1103)
OKLCHoklch(63.44% 0.175 141)
XYZxyz(15.9189, 27.5815, 7.5019)
Luminance0.2758 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A332 #9332A3
analogous
#7BA332 #42A332 #32A35A
triadic
#42A332 #3242A3 #A33242
tetradic
#42A332 #327BA3 #9332A3 #A35A32
square
#42A332 #327BA3 #9332A3 #A35A32
split-complementary
#42A332 #5A32A3 #A3327B
monochromatic
#1C4515 #2F7424 #42A332 #5CC84B #87D679

Accessibility & contrast

On white

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

On black

6.52
#42A332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A332
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A332#FFFFFF#000000##000000
##42A3321.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42a332;
/* rgb */ color: rgb(66, 163, 50);
/* oklch */ color: oklch(63.4% 0.175 141.0);
Tailwind
colors: {
  custom: {
    50: '#81bf70',
    500: '#42a332',
    950: '#000000',
  },
}
SCSS
$custom: #42a332;
$custom-light: #81bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#42a332",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 50
  },
  "hsl": {
    "h": 111.504,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.17539,
    "h": 141
  },
  "luminance": 0.27583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42A332

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

Preview Lab → · Contrast checker → · Palette generator →

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