#42786F#42786F

#42786F is a mid, muted teal. Relative luminance 0.157; OKLCH L 53.2% C 0.060 H 182.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#42786F
RGBrgb(66, 120, 111)
HSLhsl(170, 29%, 36%)
HSVhsv(170, 45%, 47%)
CMYKcmyk(45%, 0%, 7.5%, 52.9%)
CIE-LABlab(46.63, -20.30, -0.66)
CIE-LCHlch(46.63, 20.31, 181.85°)
OKLaboklab(53.24% -0.0596 -0.0021)
OKLCHoklch(53.24% 0.06 182)
XYZxyz(11.8313, 15.7380, 17.4501)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42786F #78424B
analogous
#427854 #42786F #426678
triadic
#42786F #6F4278 #786F42
tetradic
#42786F #544278 #78424B #667842
square
#42786F #544278 #78424B #667842
split-complementary
#42786F #784266 #785442
monochromatic
#172926 #2C514A #42786F #589F94 #7DB7AE

Accessibility & contrast

On white

5.06
#42786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#42786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42786F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42786F#FFFFFF#000000##FFFFFF
##42786F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726F
Deuteranopia (green-blind)
#6A6C70
Tritanopia (blue-blind)
#2C7A75
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #42786f;
/* rgb */ color: rgb(66, 120, 111);
/* oklch */ color: oklch(53.2% 0.060 182.0);
Tailwind
colors: {
  custom: {
    50: '#7a9f98',
    500: '#42786f',
    950: '#000000',
  },
}
SCSS
$custom: #42786f;
$custom-light: #7a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#42786f",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 170,
    "s": 29.032,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.05965,
    "h": 182
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#42786F
secondary
#A2737B
accent
#6273C5
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #42786F

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

Preview Lab → · Contrast checker → · Palette generator →

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