#42A84D#42A84D

#42A84D is a light, vivid green. Relative luminance 0.297; OKLCH L 65.1% C 0.160 H 145.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#42A84D
RGBrgb(66, 168, 77)
HSLhsl(126, 44%, 46%)
HSVhsv(126, 61%, 66%)
CMYKcmyk(60.7%, 0%, 54.2%, 34.1%)
CIE-LABlab(61.39, -48.66, 38.01)
CIE-LCHlch(61.39, 61.75, 142.00°)
OKLaboklab(65.08% -0.1318 0.0911)
OKLCHoklch(65.08% 0.16 145.4)
XYZxyz(17.5879, 29.6977, 11.8251)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A84D #A8429D
analogous
#6AA842 #42A84D #42A880
triadic
#42A84D #4D42A8 #A84D42
tetradic
#42A84D #426AA8 #A8429D #A88042
square
#42A84D #426AA8 #A8429D #A88042
split-complementary
#42A84D #8042A8 #A8426A
monochromatic
#1F5025 #317C39 #42A84D #65C26F #91D498

Accessibility & contrast

On white

3.03
#42A84D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#42A84D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A84D
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A84D#FFFFFF#000000##000000
##42A84D1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A45
Deuteranopia (green-blind)
#9E9154
Tritanopia (blue-blind)
#2CA493
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #42a84d;
/* rgb */ color: rgb(66, 168, 77);
/* oklch */ color: oklch(65.1% 0.160 145.4);
Tailwind
colors: {
  custom: {
    50: '#81c381',
    500: '#42a84d',
    950: '#000000',
  },
}
SCSS
$custom: #42a84d;
$custom-light: #81c381;
$custom-dark: #000000;
JSON
{
  "hex": "#42a84d",
  "rgb": {
    "r": 66,
    "g": 168,
    "b": 77
  },
  "hsl": {
    "h": 126.471,
    "s": 43.59,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.16017,
    "h": 145.4
  },
  "luminance": 0.29699
}

Semantic roles & 50–950 ramp

primary
#42A84D
secondary
#BF87B9
accent
#54C6D3
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120A
muted
#7C817C

Preview Lab

Preview with #42A84D

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

Preview Lab → · Contrast checker → · Palette generator →

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