#42AD4E#42AD4E

#42AD4E is a light, vivid green. Relative luminance 0.316; OKLCH L 66.4% C 0.166 H 145.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#42AD4E
RGBrgb(66, 173, 78)
HSLhsl(127, 45%, 47%)
HSVhsv(127, 62%, 68%)
CMYKcmyk(61.8%, 0%, 54.9%, 32.2%)
CIE-LABlab(63.01, -50.44, 39.47)
CIE-LCHlch(63.01, 64.05, 141.96°)
OKLaboklab(66.41% -0.1365 0.0943)
OKLCHoklch(66.41% 0.166 145.4)
XYZxyz(18.5643, 31.5937, 12.3261)
Luminance0.3160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AD4E #AD42A1
analogous
#6CAD42 #42AD4E #42AD84
triadic
#42AD4E #4E42AD #AD4E42
tetradic
#42AD4E #426CAD #AD42A1 #AD8442
square
#42AD4E #426CAD #AD42A1 #AD8442
split-complementary
#42AD4E #8442AD #AD426C
monochromatic
#205426 #31813A #42AD4E #67C572 #93D69B

Accessibility & contrast

On white

2.87
#42AD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#42AD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AD4E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AD4E#FFFFFF#000000##000000
##42AD4E1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E45
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#2AA998
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ad4e;
/* rgb */ color: rgb(66, 173, 78);
/* oklch */ color: oklch(66.4% 0.166 145.4);
Tailwind
colors: {
  custom: {
    50: '#82c682',
    500: '#42ad4e',
    950: '#000000',
  },
}
SCSS
$custom: #42ad4e;
$custom-light: #82c682;
$custom-dark: #000000;
JSON
{
  "hex": "#42ad4e",
  "rgb": {
    "r": 66,
    "g": 173,
    "b": 78
  },
  "hsl": {
    "h": 126.729,
    "s": 44.77,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66414,
    "c": 0.16594,
    "h": 145.4
  },
  "luminance": 0.31595
}

Semantic roles & 50–950 ramp

primary
#42AD4E
secondary
#C189BB
accent
#53C6D4
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #42AD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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