#42AD31#42AD31

#42AD31 is a light, vivid green. Relative luminance 0.313; OKLCH L 66.1% C 0.188 H 141.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#42AD31
RGBrgb(66, 173, 49)
HSLhsl(112, 56%, 44%)
HSVhsv(112, 72%, 68%)
CMYKcmyk(61.8%, 0%, 71.7%, 32.2%)
CIE-LABlab(62.73, -53.60, 51.96)
CIE-LCHlch(62.73, 74.65, 135.89°)
OKLaboklab(66.1% -0.1465 0.1181)
OKLCHoklch(66.1% 0.188 141.1)
XYZxyz(17.7438, 31.2655, 8.0049)
Luminance0.3127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD31 #9C31AD
analogous
#80AD31 #42AD31 #31AD5E
triadic
#42AD31 #3142AD #AD3142
tetradic
#42AD31 #3180AD #9C31AD #AD5E31
square
#42AD31 #3180AD #9C31AD #AD5E31
split-complementary
#42AD31 #5E31AD #AD3180
monochromatic
#1E4E16 #307D23 #42AD31 #60CD4E #8BDA7E

Accessibility & contrast

On white

2.90
#42AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#42AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD31
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD31#FFFFFF#000000##000000
##42AD311.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1D
Deuteranopia (green-blind)
#A4943D
Tritanopia (blue-blind)
#31A895
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad31;
/* rgb */ color: rgb(66, 173, 49);
/* oklch */ color: oklch(66.1% 0.188 141.1);
Tailwind
colors: {
  custom: {
    50: '#83c670',
    500: '#42ad31',
    950: '#000000',
  },
}
SCSS
$custom: #42ad31;
$custom-light: #83c670;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad31",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 111.774,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66099,
    "c": 0.18817,
    "h": 141.1
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#42AD31
secondary
#B977C3
accent
#49DFCB
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #42AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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