#42D340#42D340

#42D340 is a light, highly saturated green. Relative luminance 0.481; OKLCH L 76.2% C 0.223 H 142.8°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#42D340
RGBrgb(66, 211, 64)
HSLhsl(119, 63%, 54%)
HSVhsv(119, 70%, 83%)
CMYKcmyk(68.7%, 0%, 69.7%, 17.3%)
CIE-LABlab(74.90, -65.30, 58.89)
CIE-LCHlch(74.90, 87.93, 137.95°)
OKLaboklab(76.21% -0.1774 0.1345)
OKLCHoklch(76.21% 0.223 142.8)
XYZxyz(26.4649, 48.1141, 12.7417)
Luminance0.4812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D340 #D140D3
analogous
#8CD340 #42D340 #40D388
triadic
#42D340 #4042D3 #D34042
tetradic
#42D340 #408CD3 #D140D3 #D38840
square
#42D340 #408CD3 #D140D3 #D38840
split-complementary
#42D340 #8840D3 #D3408C
monochromatic
#1E7C1D #2AAE28 #42D340 #73DE72 #A4EAA3

Accessibility & contrast

On white

1.98
#42D340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#42D340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D340
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D340#FFFFFF#000000##000000
##42D3401.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF29
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#18CDB6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d340;
/* rgb */ color: rgb(66, 211, 64);
/* oklch */ color: oklch(76.2% 0.223 142.8);
Tailwind
colors: {
  custom: {
    50: '#8ae27d',
    500: '#42d340',
    950: '#000000',
  },
}
SCSS
$custom: #42d340;
$custom-light: #8ae27d;
$custom-dark: #000000;
JSON
{
  "hex": "#42d340",
  "rgb": {
    "r": 66,
    "g": 211,
    "b": 64
  },
  "hsl": {
    "h": 119.184,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76206,
    "c": 0.22261,
    "h": 142.8
  },
  "luminance": 0.48117
}

Semantic roles & 50–950 ramp

primary
#42D340
secondary
#D698D7
accent
#42E6E3
background
#F9FEF7
surface
#F2FCEE
border
#CCD5C9
text
#0D150A
muted
#7E847C

Preview Lab

Preview with #42D340

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

Preview Lab → · Contrast checker → · Palette generator →

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