#42A641#42A641

#42A641 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.168 H 143.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#42A641
RGBrgb(66, 166, 65)
HSLhsl(119, 44%, 45%)
HSVhsv(119, 61%, 65%)
CMYKcmyk(60.2%, 0%, 60.8%, 34.9%)
CIE-LABlab(60.61, -49.43, 42.85)
CIE-LCHlch(60.61, 65.42, 139.08°)
OKLaboklab(64.4% -0.1343 0.1006)
OKLCHoklch(64.4% 0.168 143.2)
XYZxyz(16.8362, 28.8108, 9.6738)
Luminance0.2881 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A641 #A541A6
analogous
#74A641 #42A641 #41A672
triadic
#42A641 #4142A6 #A64142
tetradic
#42A641 #4174A6 #A541A6 #A67241
square
#42A641 #4174A6 #A541A6 #A67241
split-complementary
#42A641 #7241A6 #A64174
monochromatic
#1F4E1F #317A30 #42A641 #63C262 #8FD38E

Accessibility & contrast

On white

3.11
#42A641 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#42A641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A641
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A641#FFFFFF#000000##000000
##42A6411.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99736
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#30A190
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #42a641;
/* rgb */ color: rgb(66, 166, 65);
/* oklch */ color: oklch(64.4% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#81c179',
    500: '#42a641',
    950: '#000000',
  },
}
SCSS
$custom: #42a641;
$custom-light: #81c179;
$custom-dark: #000000;
JSON
{
  "hex": "#42a641",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 119.406,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64395,
    "c": 0.16785,
    "h": 143.2
  },
  "luminance": 0.28812
}

Semantic roles & 50–950 ramp

primary
#42A641
secondary
#BD85BE
accent
#54D3D2
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #42A641

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

Preview Lab → · Contrast checker → · Palette generator →

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