#42C798#42C798

#42C798 is a light, vivid teal. Relative luminance 0.443; OKLCH L 74.6% C 0.134 H 165.5°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#42C798
RGBrgb(66, 199, 152)
HSLhsl(159, 54%, 52%)
HSVhsv(159, 67%, 78%)
CMYKcmyk(66.8%, 0%, 23.6%, 22%)
CIE-LABlab(72.41, -47.06, 13.18)
CIE-LCHlch(72.41, 48.87, 164.36°)
OKLaboklab(74.56% -0.13 0.0337)
OKLCHoklch(74.56% 0.134 165.5)
XYZxyz(28.3347, 44.2690, 36.7512)
Luminance0.4427 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C798 #C74271
analogous
#42C756 #42C798 #42B4C7
triadic
#42C798 #9842C7 #C79842
tetradic
#42C798 #5642C7 #C74271 #B4C742
square
#42C798 #5642C7 #C74271 #B4C742
split-complementary
#42C798 #C742B4 #C75642
monochromatic
#216E53 #2F9D76 #42C798 #71D5B2 #A0E3CB

Accessibility & contrast

On white

2.13
#42C798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#42C798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C798
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C798#FFFFFF#000000##000000
##42C7981.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B995
Deuteranopia (green-blind)
#B1AC9B
Tritanopia (blue-blind)
#00C7BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c798;
/* rgb */ color: rgb(66, 199, 152);
/* oklch */ color: oklch(74.6% 0.134 165.5);
Tailwind
colors: {
  custom: {
    50: '#86d9b6',
    500: '#42c798',
    950: '#000000',
  },
}
SCSS
$custom: #42c798;
$custom-light: #86d9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#42c798",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 152
  },
  "hsl": {
    "h": 158.797,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74556,
    "c": 0.1343,
    "h": 165.5
  },
  "luminance": 0.44272
}

Semantic roles & 50–950 ramp

primary
#42C798
secondary
#D095AA
accent
#4A7EDE
background
#F8FDFB
surface
#F0FAF6
border
#CBD3D0
text
#0C1511
muted
#7D8380

Preview Lab

Preview with #42C798

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

Preview Lab → · Contrast checker → · Palette generator →

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