#42C140#42C140

#42C140 is a light, highly saturated green. Relative luminance 0.397; OKLCH L 71.5% C 0.202 H 142.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#42C140
RGBrgb(66, 193, 64)
HSLhsl(119, 51%, 50%)
HSVhsv(119, 67%, 76%)
CMYKcmyk(65.8%, 0%, 66.8%, 24.3%)
CIE-LABlab(69.23, -59.26, 52.87)
CIE-LCHlch(69.23, 79.42, 138.26°)
OKLaboklab(71.51% -0.161 0.1218)
OKLCHoklch(71.51% 0.202 142.9)
XYZxyz(22.2409, 39.6661, 11.3337)
Luminance0.3967 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C140 #BF40C1
analogous
#82C140 #42C140 #40C17F
triadic
#42C140 #4042C1 #C14042
tetradic
#42C140 #4082C1 #BF40C1 #C17F40
square
#42C140 #4082C1 #BF40C1 #C17F40
split-complementary
#42C140 #7F40C1 #C14082
monochromatic
#226621 #329430 #42C140 #70D06E #9DDF9C

Accessibility & contrast

On white

2.35
#42C140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#42C140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C140
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C140#FFFFFF#000000##000000
##42C1401.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B6A54C
Tritanopia (blue-blind)
#25BBA7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #42c140;
/* rgb */ color: rgb(66, 193, 64);
/* oklch */ color: oklch(71.5% 0.202 142.9);
Tailwind
colors: {
  custom: {
    50: '#86d57b',
    500: '#42c140',
    950: '#000000',
  },
}
SCSS
$custom: #42c140;
$custom-light: #86d57b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c140",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 64
  },
  "hsl": {
    "h": 119.07,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.71513,
    "c": 0.20192,
    "h": 142.9
  },
  "luminance": 0.39668
}

Semantic roles & 50–950 ramp

primary
#42C140
secondary
#CA92CB
accent
#4DDAD8
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0D140A
muted
#7D837C

Preview Lab

Preview with #42C140

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

Preview Lab → · Contrast checker → · Palette generator →

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