#42A031#42A031

#42A031 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.6% C 0.172 H 140.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#42A031
RGBrgb(66, 160, 49)
HSLhsl(111, 53%, 41%)
HSVhsv(111, 69%, 63%)
CMYKcmyk(58.8%, 0%, 69.4%, 37.3%)
CIE-LABlab(58.53, -48.83, 47.57)
CIE-LCHlch(58.53, 68.17, 135.75°)
OKLaboklab(62.63% -0.1336 0.1089)
OKLCHoklch(62.63% 0.172 140.8)
XYZxyz(15.3712, 26.5203, 7.2140)
Luminance0.2652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A031 #8F31A0
analogous
#79A031 #42A031 #31A057
triadic
#42A031 #3142A0 #A03142
tetradic
#42A031 #3179A0 #8F31A0 #A05731
square
#42A031 #3179A0 #8F31A0 #A05731
split-complementary
#42A031 #5731A0 #A03179
monochromatic
#1B4214 #2F7123 #42A031 #5BC747 #85D576

Accessibility & contrast

On white

3.33
#42A031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#42A031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A031
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A031#FFFFFF#000000##000000
##42A0311.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49221
Deuteranopia (green-blind)
#988A3B
Tritanopia (blue-blind)
#359B8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a031;
/* rgb */ color: rgb(66, 160, 49);
/* oklch */ color: oklch(62.6% 0.172 140.8);
Tailwind
colors: {
  custom: {
    50: '#81bd6f',
    500: '#42a031',
    950: '#000000',
  },
}
SCSS
$custom: #42a031;
$custom-light: #81bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a031",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 110.811,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.17236,
    "h": 140.8
  },
  "luminance": 0.26522
}

Semantic roles & 50–950 ramp

primary
#42A031
secondary
#B170BD
accent
#4BDDC6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A031

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

Preview Lab → · Contrast checker → · Palette generator →

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