#42D040#42D040

#42D040 is a light, highly saturated green. Relative luminance 0.466; OKLCH L 75.4% C 0.219 H 142.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#42D040
RGBrgb(66, 208, 64)
HSLhsl(119, 61%, 53%)
HSVhsv(119, 69%, 82%)
CMYKcmyk(68.3%, 0%, 69.2%, 18.4%)
CIE-LABlab(73.96, -64.31, 57.91)
CIE-LCHlch(73.96, 86.54, 138.00°)
OKLaboklab(75.43% -0.1747 0.1324)
OKLCHoklch(75.43% 0.219 142.8)
XYZxyz(25.7265, 46.6374, 12.4956)
Luminance0.4664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D040 #CE40D0
analogous
#8AD040 #42D040 #40D086
triadic
#42D040 #4042D0 #D04042
tetradic
#42D040 #408AD0 #CE40D0 #D08640
square
#42D040 #408AD0 #CE40D0 #D08640
split-complementary
#42D040 #8640D0 #D0408A
monochromatic
#1F781E #2BA92A #42D040 #73DC71 #A3E8A2

Accessibility & contrast

On white

2.03
#42D040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#42D040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D040
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D040#FFFFFF#000000##000000
##42D0401.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD2A
Deuteranopia (green-blind)
#C4B14E
Tritanopia (blue-blind)
#1BCAB3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #42d040;
/* rgb */ color: rgb(66, 208, 64);
/* oklch */ color: oklch(75.4% 0.219 142.8);
Tailwind
colors: {
  custom: {
    50: '#89e07c',
    500: '#42d040',
    950: '#000000',
  },
}
SCSS
$custom: #42d040;
$custom-light: #89e07c;
$custom-dark: #000000;
JSON
{
  "hex": "#42d040",
  "rgb": {
    "r": 66,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 119.167,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75428,
    "c": 0.21923,
    "h": 142.8
  },
  "luminance": 0.4664
}

Semantic roles & 50–950 ramp

primary
#42D040
secondary
#D497D5
accent
#44E4E1
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42D040

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

Preview Lab → · Contrast checker → · Palette generator →

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