#42A366#42A366

#42A366 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.2% C 0.129 H 153.1°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#42A366
RGBrgb(66, 163, 102)
HSLhsl(142, 42%, 45%)
HSVhsv(142, 60%, 64%)
CMYKcmyk(59.5%, 0%, 37.4%, 36.1%)
CIE-LABlab(60.17, -42.56, 23.42)
CIE-LCHlch(60.17, 48.58, 151.17°)
OKLaboklab(64.2% -0.1154 0.0586)
OKLCHoklch(64.2% 0.129 153.1)
XYZxyz(17.7408, 28.3103, 17.0973)
Luminance0.2831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A366 #A3427F
analogous
#4FA342 #42A366 #42A396
triadic
#42A366 #6642A3 #A36642
tetradic
#42A366 #424FA3 #A3427F #A39642
square
#42A366 #424FA3 #A3427F #A39642
split-complementary
#42A366 #9642A3 #A3424F
monochromatic
#1F4C2F #30774B #42A366 #63C085 #8ED1A7

Accessibility & contrast

On white

3.15
#42A366 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#42A366 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A366
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A366#FFFFFF#000000##000000
##42A3661.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39762
Deuteranopia (green-blind)
#968D6A
Tritanopia (blue-blind)
#23A193
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #42a366;
/* rgb */ color: rgb(66, 163, 102);
/* oklch */ color: oklch(64.2% 0.129 153.1);
Tailwind
colors: {
  custom: {
    50: '#7fbf92',
    500: '#42a366',
    950: '#000000',
  },
}
SCSS
$custom: #42a366;
$custom-light: #7fbf92;
$custom-dark: #000000;
JSON
{
  "hex": "#42a366",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 142.268,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64195,
    "c": 0.1294,
    "h": 153.1
  },
  "luminance": 0.28312
}

Semantic roles & 50–950 ramp

primary
#42A366
secondary
#BC84A8
accent
#56A4D2
background
#F8FBF9
surface
#EFF7F1
border
#CAD0CB
text
#0B120D
muted
#7C817E

Preview Lab

Preview with #42A366

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

Preview Lab → · Contrast checker → · Palette generator →

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