#42A02B#42A02B

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

Color values

HEX#42A02B
RGBrgb(66, 160, 43)
HSLhsl(108, 58%, 40%)
HSVhsv(108, 73%, 63%)
CMYKcmyk(58.8%, 0%, 73.1%, 37.3%)
CIE-LABlab(58.48, -49.34, 49.89)
CIE-LCHlch(58.48, 70.17, 134.68°)
OKLaboklab(62.58% -0.1353 0.113)
OKLCHoklch(62.58% 0.176 140.1)
XYZxyz(15.2529, 26.4729, 6.5910)
Luminance0.2647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A02B #892BA0
analogous
#7DA02B #42A02B #2BA04F
triadic
#42A02B #2B42A0 #A02B42
tetradic
#42A02B #2B7DA0 #892BA0 #A04F2B
square
#42A02B #2B7DA0 #892BA0 #A04F2B
split-complementary
#42A02B #4F2BA0 #A02B7D
monochromatic
#1A4011 #2E701E #42A02B #59CB3D #82D86E

Accessibility & contrast

On white

3.34
#42A02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#42A02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A02B
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A02B#FFFFFF#000000##000000
##42A02B1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#369B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a02b;
/* rgb */ color: rgb(66, 160, 43);
/* oklch */ color: oklch(62.6% 0.176 140.1);
Tailwind
colors: {
  custom: {
    50: '#81bd6c',
    500: '#42a02b',
    950: '#000000',
  },
}
SCSS
$custom: #42a02b;
$custom-light: #81bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#42a02b",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 108.205,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.62575,
    "c": 0.17629,
    "h": 140.1
  },
  "luminance": 0.26474
}

Semantic roles & 50–950 ramp

primary
#42A02B
secondary
#AE68BF
accent
#47E1C3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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