#42A42D#42A42D

#42A42D is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.180 H 140.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#42A42D
RGBrgb(66, 164, 45)
HSLhsl(109, 57%, 41%)
HSVhsv(109, 73%, 64%)
CMYKcmyk(59.8%, 0%, 72.6%, 35.7%)
CIE-LABlab(59.80, -50.66, 50.47)
CIE-LCHlch(59.80, 71.51, 135.11°)
OKLaboklab(63.66% -0.1388 0.1145)
OKLCHoklch(63.66% 0.18 140.5)
XYZxyz(15.9951, 27.8972, 7.0239)
Luminance0.2790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A42D #8F2DA4
analogous
#7DA42D #42A42D #2DA453
triadic
#42A42D #2D42A4 #A42D42
tetradic
#42A42D #2D7DA4 #8F2DA4 #A4532D
square
#42A42D #2D7DA4 #8F2DA4 #A4532D
split-complementary
#42A42D #532DA4 #A42D7D
monochromatic
#1B4413 #2F7420 #42A42D #5BCB43 #85D973

Accessibility & contrast

On white

3.19
#42A42D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#42A42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A42D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A42D#FFFFFF#000000##000000
##42A42D1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89519
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#359F8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a42d;
/* rgb */ color: rgb(66, 164, 45);
/* oklch */ color: oklch(63.7% 0.180 140.5);
Tailwind
colors: {
  custom: {
    50: '#82c06d',
    500: '#42a42d',
    950: '#000000',
  },
}
SCSS
$custom: #42a42d;
$custom-light: #82c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#42a42d",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 109.412,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.17989,
    "h": 140.5
  },
  "luminance": 0.27899
}

Semantic roles & 50–950 ramp

primary
#42A42D
secondary
#B16DC0
accent
#48E0C5
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #42A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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