#42A02E#42A02E

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

Color values

HEX#42A02E
RGBrgb(66, 160, 46)
HSLhsl(109, 55%, 40%)
HSVhsv(109, 71%, 63%)
CMYKcmyk(58.8%, 0%, 71.2%, 37.3%)
CIE-LABlab(58.50, -49.09, 48.75)
CIE-LCHlch(58.50, 69.19, 135.20°)
OKLaboklab(62.6% -0.1345 0.111)
OKLCHoklch(62.6% 0.174 140.5)
XYZxyz(15.3100, 26.4958, 6.8916)
Luminance0.2650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A02E #8C2EA0
analogous
#7BA02E #42A02E #2EA053
triadic
#42A02E #2E42A0 #A02E42
tetradic
#42A02E #2E7BA0 #8C2EA0 #A0532E
square
#42A02E #2E7BA0 #8C2EA0 #A0532E
split-complementary
#42A02E #532EA0 #A02E7B
monochromatic
#1B4113 #2E7020 #42A02E #5AC942 #84D672

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A02E#FFFFFF#000000##000000
##42A02E1.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)
#A4921C
Deuteranopia (green-blind)
#998A39
Tritanopia (blue-blind)
#369B89
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #42a02e;
/* rgb */ color: rgb(66, 160, 46);
/* oklch */ color: oklch(62.6% 0.174 140.5);
Tailwind
colors: {
  custom: {
    50: '#81bd6d',
    500: '#42a02e',
    950: '#000000',
  },
}
SCSS
$custom: #42a02e;
$custom-light: #81bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a02e",
  "rgb": {
    "r": 66,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 109.474,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.626,
    "c": 0.17438,
    "h": 140.5
  },
  "luminance": 0.26497
}

Semantic roles & 50–950 ramp

primary
#42A02E
secondary
#B06CBE
accent
#49DFC4
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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