#42C240#42C240

#42C240 is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.8% C 0.203 H 142.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#42C240
RGBrgb(66, 194, 64)
HSLhsl(119, 52%, 51%)
HSVhsv(119, 67%, 76%)
CMYKcmyk(66%, 0%, 67%, 23.9%)
CIE-LABlab(69.55, -59.61, 53.21)
CIE-LCHlch(69.55, 79.90, 138.25°)
OKLaboklab(71.78% -0.162 0.1226)
OKLCHoklch(71.78% 0.203 142.9)
XYZxyz(22.4627, 40.1097, 11.4077)
Luminance0.4011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C240 #C040C2
analogous
#83C240 #42C240 #40C27F
triadic
#42C240 #4042C2 #C24042
tetradic
#42C240 #4083C2 #C040C2 #C27F40
square
#42C240 #4083C2 #C040C2 #C27F40
split-complementary
#42C240 #7F40C2 #C24083
monochromatic
#226721 #319530 #42C240 #70D16E #9EE09D

Accessibility & contrast

On white

2.33
#42C240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#42C240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C240
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C240#FFFFFF#000000##000000
##42C2401.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B02E
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#24BCA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #42c240;
/* rgb */ color: rgb(66, 194, 64);
/* oklch */ color: oklch(71.8% 0.203 142.9);
Tailwind
colors: {
  custom: {
    50: '#86d67b',
    500: '#42c240',
    950: '#000000',
  },
}
SCSS
$custom: #42c240;
$custom-light: #86d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c240",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 119.077,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.20311,
    "h": 142.9
  },
  "luminance": 0.40112
}

Semantic roles & 50–950 ramp

primary
#42C240
secondary
#CB92CC
accent
#4DDBD9
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D140A
muted
#7D837C

Preview Lab

Preview with #42C240

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

Preview Lab → · Contrast checker → · Palette generator →

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