#42CC8A#42CC8A

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

Color values

HEX#42CC8A
RGBrgb(66, 204, 138)
HSLhsl(151, 58%, 53%)
HSVhsv(151, 68%, 80%)
CMYKcmyk(67.6%, 0%, 32.4%, 20%)
CIE-LABlab(73.66, -52.10, 22.37)
CIE-LCHlch(73.66, 56.70, 156.76°)
OKLaboklab(75.49% -0.1416 0.0566)
OKLCHoklch(75.49% 0.152 158.2)
XYZxyz(28.4244, 46.1758, 31.4546)
Luminance0.4618 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC8A #CC4284
analogous
#42CC45 #42CC8A #42C9CC
triadic
#42CC8A #8A42CC #CC8A42
tetradic
#42CC8A #4542CC #CC4284 #C9CC42
square
#42CC8A #4542CC #CC4284 #C9CC42
split-complementary
#42CC8A #CC42C9 #CC4542
monochromatic
#1F744C #2CA46B #42CC8A #72D9A8 #A2E6C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CC8A#FFFFFF#000000##000000
##42CC8A1.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)
#CABD86
Deuteranopia (green-blind)
#B8B08E
Tritanopia (blue-blind)
#00CBBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #42cc8a;
/* rgb */ color: rgb(66, 204, 138);
/* oklch */ color: oklch(75.5% 0.152 158.2);
Tailwind
colors: {
  custom: {
    50: '#87dcac',
    500: '#42cc8a',
    950: '#000000',
  },
}
SCSS
$custom: #42cc8a;
$custom-light: #87dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc8a",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 138
  },
  "hsl": {
    "h": 151.304,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7549,
    "c": 0.15248,
    "h": 158.2
  },
  "luminance": 0.46179
}

Semantic roles & 50–950 ramp

primary
#42CC8A
secondary
#D397B4
accent
#4791E1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D1510
muted
#7D837F

Preview Lab

Preview with #42CC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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