#42CB40#42CB40

#42CB40 is a light, highly saturated green. Relative luminance 0.442; OKLCH L 74.1% C 0.214 H 142.9°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#42CB40
RGBrgb(66, 203, 64)
HSLhsl(119, 57%, 52%)
HSVhsv(119, 68%, 80%)
CMYKcmyk(67.5%, 0%, 68.5%, 20.4%)
CIE-LABlab(72.39, -62.65, 56.25)
CIE-LCHlch(72.39, 84.20, 138.08°)
OKLaboklab(74.13% -0.1702 0.1289)
OKLCHoklch(74.13% 0.214 142.9)
XYZxyz(24.5267, 44.2377, 12.0957)
Luminance0.4424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CB40 #C940CB
analogous
#87CB40 #42CB40 #40CB84
triadic
#42CB40 #4042CB #CB4042
tetradic
#42CB40 #4087CB #C940CB #CB8440
square
#42CB40 #4087CB #C940CB #CB8440
split-complementary
#42CB40 #8440CB #CB4087
monochromatic
#20721F #2EA22C #42CB40 #72D870 #A1E5A0

Accessibility & contrast

On white

2.13
#42CB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#42CB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CB40
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CB40#FFFFFF#000000##000000
##42CB401.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#BFAD4D
Tritanopia (blue-blind)
#1FC5AF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42cb40;
/* rgb */ color: rgb(66, 203, 64);
/* oklch */ color: oklch(74.1% 0.214 142.9);
Tailwind
colors: {
  custom: {
    50: '#88dc7c',
    500: '#42cb40',
    950: '#000000',
  },
}
SCSS
$custom: #42cb40;
$custom-light: #88dc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#42cb40",
  "rgb": {
    "r": 66,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 119.137,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74126,
    "c": 0.21354,
    "h": 142.9
  },
  "luminance": 0.4424
}

Semantic roles & 50–950 ramp

primary
#42CB40
secondary
#D195D2
accent
#47E0DE
background
#F9FDF7
surface
#F1FBEE
border
#CBD4C9
text
#0D150A
muted
#7E837C

Preview Lab

Preview with #42CB40

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

Preview Lab → · Contrast checker → · Palette generator →

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