#42A42A#42A42A

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

Color values

HEX#42A42A
RGBrgb(66, 164, 42)
HSLhsl(108, 59%, 40%)
HSVhsv(108, 74%, 64%)
CMYKcmyk(59.8%, 0%, 74.4%, 35.7%)
CIE-LABlab(59.78, -50.89, 51.57)
CIE-LCHlch(59.78, 72.45, 134.62°)
OKLaboklab(63.64% -0.1396 0.1164)
OKLCHoklch(63.64% 0.182 140.2)
XYZxyz(15.9394, 27.8749, 6.7305)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A42A #8C2AA4
analogous
#7FA42A #42A42A #2AA44F
triadic
#42A42A #2A42A4 #A42A42
tetradic
#42A42A #2A7FA4 #8C2AA4 #A44F2A
square
#42A42A #2A7FA4 #8C2AA4 #A44F2A
split-complementary
#42A42A #4F2AA4 #A42A7F
monochromatic
#1B4311 #2E731E #42A42A #5ACD3E #84DA6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42A42A#FFFFFF#000000##000000
##42A42A1.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)
#A99513
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#359F8C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a42a;
/* rgb */ color: rgb(66, 164, 42);
/* oklch */ color: oklch(63.6% 0.182 140.2);
Tailwind
colors: {
  custom: {
    50: '#82c06c',
    500: '#42a42a',
    950: '#000000',
  },
}
SCSS
$custom: #42a42a;
$custom-light: #82c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#42a42a",
  "rgb": {
    "r": 66,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 108.197,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.18172,
    "h": 140.2
  },
  "luminance": 0.27876
}

Semantic roles & 50–950 ramp

primary
#42A42A
secondary
#B069C1
accent
#45E2C4
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #42A42A

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

Preview Lab → · Contrast checker → · Palette generator →

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