#42A131#42A131

#42A131 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.174 H 140.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#42A131
RGBrgb(66, 161, 49)
HSLhsl(111, 53%, 41%)
HSVhsv(111, 70%, 63%)
CMYKcmyk(59%, 0%, 69.6%, 36.9%)
CIE-LABlab(58.85, -49.20, 47.91)
CIE-LCHlch(58.85, 68.68, 135.76°)
OKLaboklab(62.89% -0.1346 0.1096)
OKLCHoklch(62.89% 0.174 140.8)
XYZxyz(15.5453, 26.8684, 7.2720)
Luminance0.2687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A131 #9031A1
analogous
#7AA131 #42A131 #31A158
triadic
#42A131 #3142A1 #A13142
tetradic
#42A131 #317AA1 #9031A1 #A15831
square
#42A131 #317AA1 #9031A1 #A15831
split-complementary
#42A131 #5831A1 #A1317A
monochromatic
#1C4314 #2F7223 #42A131 #5BC748 #85D677

Accessibility & contrast

On white

3.29
#42A131 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#42A131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A131
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A131#FFFFFF#000000##000000
##42A1311.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59221
Deuteranopia (green-blind)
#998B3B
Tritanopia (blue-blind)
#359C8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #42a131;
/* rgb */ color: rgb(66, 161, 49);
/* oklch */ color: oklch(62.9% 0.174 140.8);
Tailwind
colors: {
  custom: {
    50: '#81be6f',
    500: '#42a131',
    950: '#000000',
  },
}
SCSS
$custom: #42a131;
$custom-light: #81be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#42a131",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 49
  },
  "hsl": {
    "h": 110.893,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62894,
    "c": 0.1736,
    "h": 140.8
  },
  "luminance": 0.2687
}

Semantic roles & 50–950 ramp

primary
#42A131
secondary
#B270BE
accent
#4BDDC7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1208
muted
#7C817B

Preview Lab

Preview with #42A131

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

Preview Lab → · Contrast checker → · Palette generator →

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