#42AE31#42AE31

#42AE31 is a light, vivid green. Relative luminance 0.317; OKLCH L 66.4% C 0.189 H 141.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#42AE31
RGBrgb(66, 174, 49)
HSLhsl(112, 56%, 44%)
HSVhsv(112, 72%, 68%)
CMYKcmyk(62.1%, 0%, 71.8%, 31.8%)
CIE-LABlab(63.05, -53.95, 52.29)
CIE-LCHlch(63.05, 75.13, 135.90°)
OKLaboklab(66.36% -0.1475 0.1188)
OKLCHoklch(66.36% 0.189 141.1)
XYZxyz(17.9363, 31.6504, 8.0691)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE31 #9D31AE
analogous
#80AE31 #42AE31 #31AE5E
triadic
#42AE31 #3142AE #AE3142
tetradic
#42AE31 #3180AE #9D31AE #AE5E31
square
#42AE31 #3180AE #9D31AE #AE5E31
split-complementary
#42AE31 #5E31AE #AE3180
monochromatic
#1E4E16 #307E24 #42AE31 #60CD4F #8BDB7F

Accessibility & contrast

On white

2.86
#42AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#42AE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE31
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE31#FFFFFF#000000##000000
##42AE311.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1C
Deuteranopia (green-blind)
#A5953D
Tritanopia (blue-blind)
#31A995
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ae31;
/* rgb */ color: rgb(66, 174, 49);
/* oklch */ color: oklch(66.4% 0.189 141.1);
Tailwind
colors: {
  custom: {
    50: '#83c771',
    500: '#42ae31',
    950: '#000000',
  },
}
SCSS
$custom: #42ae31;
$custom-light: #83c771;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae31",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 111.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.18936,
    "h": 141.1
  },
  "luminance": 0.31652
}

Semantic roles & 50–950 ramp

primary
#42AE31
secondary
#B977C4
accent
#48DFCB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AE31

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

Preview Lab → · Contrast checker → · Palette generator →

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