#42A533#42A533

#42A533 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.0% C 0.177 H 141.2°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#42A533
RGBrgb(66, 165, 51)
HSLhsl(112, 53%, 42%)
HSVhsv(112, 69%, 65%)
CMYKcmyk(60%, 0%, 69.1%, 35.3%)
CIE-LABlab(60.16, -50.51, 48.48)
CIE-LCHlch(60.16, 70.01, 136.17°)
OKLaboklab(63.98% -0.138 0.1111)
OKLCHoklch(63.98% 0.177 141.2)
XYZxyz(16.2986, 28.3060, 7.7360)
Luminance0.2831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A533 #9633A5
analogous
#7BA533 #42A533 #33A55D
triadic
#42A533 #3342A5 #A53342
tetradic
#42A533 #337BA5 #9633A5 #A55D33
square
#42A533 #337BA5 #9633A5 #A55D33
split-complementary
#42A533 #5D33A5 #A5337B
monochromatic
#1D4816 #2F7625 #42A533 #5DC84D #88D67C

Accessibility & contrast

On white

3.15
#42A533 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#42A533 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A533
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A533#FFFFFF#000000##000000
##42A5331.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99623
Deuteranopia (green-blind)
#9D8E3E
Tritanopia (blue-blind)
#33A08E
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a533;
/* rgb */ color: rgb(66, 165, 51);
/* oklch */ color: oklch(64.0% 0.177 141.2);
Tailwind
colors: {
  custom: {
    50: '#82c171',
    500: '#42a533',
    950: '#000000',
  },
}
SCSS
$custom: #42a533;
$custom-light: #82c171;
$custom-dark: #000000;
JSON
{
  "hex": "#42a533",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 51
  },
  "hsl": {
    "h": 112.105,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.63982,
    "c": 0.17717,
    "h": 141.2
  },
  "luminance": 0.28308
}

Semantic roles & 50–950 ramp

primary
#42A533
secondary
#B575BF
accent
#4CDCC9
background
#F8FBF7
surface
#F0F7ED
border
#CBD0C8
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A533

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

Preview Lab → · Contrast checker → · Palette generator →

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