#42CC8B#42CC8B

#42CC8B is a light, vivid teal. Relative luminance 0.462; OKLCH L 75.5% C 0.152 H 158.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#42CC8B
RGBrgb(66, 204, 139)
HSLhsl(152, 58%, 53%)
HSVhsv(152, 68%, 80%)
CMYKcmyk(67.6%, 0%, 31.9%, 20%)
CIE-LABlab(73.68, -51.89, 21.87)
CIE-LCHlch(73.68, 56.31, 157.15°)
OKLaboklab(75.51% -0.1411 0.0553)
OKLCHoklch(75.51% 0.152 158.6)
XYZxyz(28.4971, 46.2049, 31.8377)
Luminance0.4621 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC8B #CC4283
analogous
#42CC46 #42CC8B #42C8CC
triadic
#42CC8B #8B42CC #CC8B42
tetradic
#42CC8B #4642CC #CC4283 #C8CC42
square
#42CC8B #4642CC #CC4283 #C8CC42
split-complementary
#42CC8B #CC42C8 #CC4642
monochromatic
#1F744C #2CA46C #42CC8B #72D9A9 #A2E6C6

Accessibility & contrast

On white

2.05
#42CC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#42CC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC8B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC8B#FFFFFF#000000##000000
##42CC8B1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CABD87
Deuteranopia (green-blind)
#B8B08F
Tritanopia (blue-blind)
#00CBBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #42cc8b;
/* rgb */ color: rgb(66, 204, 139);
/* oklch */ color: oklch(75.5% 0.152 158.6);
Tailwind
colors: {
  custom: {
    50: '#87dcad',
    500: '#42cc8b',
    950: '#000000',
  },
}
SCSS
$custom: #42cc8b;
$custom-light: #87dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc8b",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 139
  },
  "hsl": {
    "h": 151.739,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75511,
    "c": 0.15161,
    "h": 158.6
  },
  "luminance": 0.46208
}

Semantic roles & 50–950 ramp

primary
#42CC8B
secondary
#D397B3
accent
#478FE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D1510
muted
#7D837F

Preview Lab

Preview with #42CC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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