#42D797#42D797

#42D797 is a light, vivid teal. Relative luminance 0.520; OKLCH L 78.5% C 0.156 H 160.5°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#42D797
RGBrgb(66, 215, 151)
HSLhsl(154, 65%, 55%)
HSVhsv(154, 69%, 84%)
CMYKcmyk(69.3%, 0%, 29.8%, 15.7%)
CIE-LABlab(77.27, -53.74, 20.49)
CIE-LCHlch(77.27, 57.51, 159.13°)
OKLaboklab(78.54% -0.1466 0.052)
OKLCHoklch(78.54% 0.156 160.5)
XYZxyz(32.1299, 51.9899, 37.6139)
Luminance0.5199 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D797 #D74282
analogous
#42D74C #42D797 #42CDD7
triadic
#42D797 #9742D7 #D79742
tetradic
#42D797 #4C42D7 #D74282 #CDD742
square
#42D797 #4C42D7 #D74282 #CDD742
split-complementary
#42D797 #D742CD #D74C42
monochromatic
#1C8357 #26B578 #42D797 #75E2B3 #A7ECCF

Accessibility & contrast

On white

1.84
#42D797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#42D797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D797
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D797#FFFFFF#000000##000000
##42D7971.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C793
Deuteranopia (green-blind)
#C1B99B
Tritanopia (blue-blind)
#00D6C6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d797;
/* rgb */ color: rgb(66, 215, 151);
/* oklch */ color: oklch(78.5% 0.156 160.5);
Tailwind
colors: {
  custom: {
    50: '#89e4b5',
    500: '#42d797',
    950: '#000000',
  },
}
SCSS
$custom: #42d797;
$custom-light: #89e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#42d797",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 151
  },
  "hsl": {
    "h": 154.228,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78542,
    "c": 0.15553,
    "h": 160.5
  },
  "luminance": 0.51993
}

Semantic roles & 50–950 ramp

primary
#42D797
secondary
#8A3459
accent
#4088E8
background
#FCFEFD
surface
#F4FCF8
border
#CED5D1
text
#0D1611
muted
#7F8481

Preview Lab

Preview with #42D797

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

Preview Lab → · Contrast checker → · Palette generator →

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