#42786A#42786A

#42786A is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.1% C 0.062 H 175.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#42786A
RGBrgb(66, 120, 106)
HSLhsl(164, 29%, 36%)
HSVhsv(164, 45%, 47%)
CMYKcmyk(45%, 0%, 11.7%, 52.9%)
CIE-LABlab(46.49, -21.58, 2.11)
CIE-LCHlch(46.49, 21.69, 174.43°)
OKLaboklab(53.08% -0.062 0.0053)
OKLCHoklch(53.08% 0.062 175.2)
XYZxyz(11.5637, 15.6309, 16.0406)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42786A #784250
analogous
#42784F #42786A #426B78
triadic
#42786A #6A4278 #786A42
tetradic
#42786A #4F4278 #784250 #6B7842
square
#42786A #4F4278 #784250 #6B7842
split-complementary
#42786A #78426B #784F42
monochromatic
#172924 #2C5147 #42786A #589F8D #7DB7A8

Accessibility & contrast

On white

5.09
#42786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#42786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42786A
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42786A#FFFFFF#000000##FFFFFF
##42786A1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757269
Deuteranopia (green-blind)
#6C6B6B
Tritanopia (blue-blind)
#2F7974
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #42786a;
/* rgb */ color: rgb(66, 120, 106);
/* oklch */ color: oklch(53.1% 0.062 175.2);
Tailwind
colors: {
  custom: {
    50: '#7a9f94',
    500: '#42786a',
    950: '#000000',
  },
}
SCSS
$custom: #42786a;
$custom-light: #7a9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#42786a",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 164.444,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53081,
    "c": 0.06223,
    "h": 175.2
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#42786A
secondary
#A27380
accent
#627CC5
background
#F7F9F9
surface
#EEF2F1
border
#C9CCCB
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #42786A

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

Preview Lab → · Contrast checker → · Palette generator →

#42786A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva