#42CC6B#42CC6B

#42CC6B is a light, vivid green. Relative luminance 0.454; OKLCH L 74.9% C 0.181 H 149.4°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#42CC6B
RGBrgb(66, 204, 107)
HSLhsl(138, 58%, 53%)
HSVhsv(138, 68%, 80%)
CMYKcmyk(67.6%, 0%, 47.5%, 20%)
CIE-LABlab(73.16, -57.69, 37.66)
CIE-LCHlch(73.16, 68.89, 146.86°)
OKLaboklab(74.91% -0.1554 0.0919)
OKLCHoklch(74.91% 0.181 149.4)
XYZxyz(26.4914, 45.4027, 21.2745)
Luminance0.4541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC6B #CC42A3
analogous
#5ECC42 #42CC6B #42CCB0
triadic
#42CC6B #6B42CC #CC6B42
tetradic
#42CC6B #425ECC #CC42A3 #CCB042
square
#42CC6B #425ECC #CC42A3 #CCB042
split-complementary
#42CC6B #B042CC #CC425E
monochromatic
#1F7439 #2CA450 #42CC6B #72D991 #A2E6B6

Accessibility & contrast

On white

2.08
#42CC6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#42CC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC6B
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC6B#FFFFFF#000000##000000
##42CC6B1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB63
Deuteranopia (green-blind)
#BDAF72
Tritanopia (blue-blind)
#00C8B5
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc6b;
/* rgb */ color: rgb(66, 204, 107);
/* oklch */ color: oklch(74.9% 0.181 149.4);
Tailwind
colors: {
  custom: {
    50: '#87dd97',
    500: '#42cc6b',
    950: '#000000',
  },
}
SCSS
$custom: #42cc6b;
$custom-light: #87dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc6b",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 107
  },
  "hsl": {
    "h": 137.826,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7491,
    "c": 0.18056,
    "h": 149.4
  },
  "luminance": 0.45406
}

Semantic roles & 50–950 ramp

primary
#42CC6B
secondary
#D397C1
accent
#47B3E1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150D
muted
#7D837E

Preview Lab

Preview with #42CC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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