#42876F#42876F

#42876F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.080 H 168.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#42876F
RGBrgb(66, 135, 111)
HSLhsl(159, 34%, 39%)
HSVhsv(159, 51%, 53%)
CMYKcmyk(51.1%, 0%, 17.8%, 47.1%)
CIE-LABlab(51.42, -27.94, 6.27)
CIE-LCHlch(51.42, 28.64, 167.35°)
OKLaboklab(57.12% -0.0785 0.0161)
OKLCHoklch(57.12% 0.08 168.4)
XYZxyz(13.7787, 19.6327, 18.0992)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42876F #87425A
analogous
#42874D #42876F #427D87
triadic
#42876F #6F4287 #876F42
tetradic
#42876F #4D4287 #87425A #7D8742
square
#42876F #4D4287 #87425A #7D8742
split-complementary
#42876F #87427D #874D42
monochromatic
#1A352B #2E5E4D #42876F #59AE90 #82C2AB

Accessibility & contrast

On white

4.26
#42876F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#42876F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42876F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42876F#FFFFFF#000000##000000
##42876F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F6E
Deuteranopia (green-blind)
#797771
Tritanopia (blue-blind)
#288880
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #42876f;
/* rgb */ color: rgb(66, 135, 111);
/* oklch */ color: oklch(57.1% 0.080 168.4);
Tailwind
colors: {
  custom: {
    50: '#7baa98',
    500: '#42876f',
    950: '#000000',
  },
}
SCSS
$custom: #42876f;
$custom-light: #7baa98;
$custom-dark: #000000;
JSON
{
  "hex": "#42876f",
  "rgb": {
    "r": 66,
    "g": 135,
    "b": 111
  },
  "hsl": {
    "h": 159.13,
    "s": 34.328,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57118,
    "c": 0.08012,
    "h": 168.4
  },
  "luminance": 0.19634
}

Semantic roles & 50–950 ramp

primary
#42876F
secondary
#AC788A
accent
#5D83CA
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100D
muted
#7C7F7E

Preview Lab

Preview with #42876F

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

Preview Lab → · Contrast checker → · Palette generator →

#42876F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva