#42CD40#42CD40

#42CD40 is a light, highly saturated green. Relative luminance 0.452; OKLCH L 74.6% C 0.216 H 142.9°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#42CD40
RGBrgb(66, 205, 64)
HSLhsl(119, 59%, 53%)
HSVhsv(119, 69%, 80%)
CMYKcmyk(67.8%, 0%, 68.8%, 19.6%)
CIE-LABlab(73.02, -63.32, 56.91)
CIE-LCHlch(73.02, 85.14, 138.05°)
OKLaboklab(74.65% -0.172 0.1303)
OKLCHoklch(74.65% 0.216 142.9)
XYZxyz(25.0020, 45.1884, 12.2541)
Luminance0.4519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CD40 #CB40CD
analogous
#88CD40 #42CD40 #40CD84
triadic
#42CD40 #4042CD #CD4042
tetradic
#42CD40 #4088CD #CB40CD #CD8440
square
#42CD40 #4088CD #CB40CD #CD8440
split-complementary
#42CD40 #8440CD #CD4088
monochromatic
#20741E #2DA52B #42CD40 #72DA71 #A2E6A1

Accessibility & contrast

On white

2.09
#42CD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#42CD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CD40
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CD40#FFFFFF#000000##000000
##42CD401.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2B
Deuteranopia (green-blind)
#C1AF4E
Tritanopia (blue-blind)
#1DC7B1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #42cd40;
/* rgb */ color: rgb(66, 205, 64);
/* oklch */ color: oklch(74.6% 0.216 142.9);
Tailwind
colors: {
  custom: {
    50: '#89dd7c',
    500: '#42cd40',
    950: '#000000',
  },
}
SCSS
$custom: #42cd40;
$custom-light: #89dd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42cd40",
  "rgb": {
    "r": 66,
    "g": 205,
    "b": 64
  },
  "hsl": {
    "h": 119.149,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74647,
    "c": 0.21583,
    "h": 142.9
  },
  "luminance": 0.45191
}

Semantic roles & 50–950 ramp

primary
#42CD40
secondary
#D296D3
accent
#46E2E0
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42CD40

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

Preview Lab → · Contrast checker → · Palette generator →

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