#42796F#42796F

#42796F is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.061 H 180.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#42796F
RGBrgb(66, 121, 111)
HSLhsl(169, 29%, 37%)
HSVhsv(169, 45%, 47%)
CMYKcmyk(45.5%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.95, -20.83, -0.19)
CIE-LCHlch(46.95, 20.83, 180.52°)
OKLaboklab(53.5% -0.0609 -0.0008)
OKLCHoklch(53.5% 0.061 180.8)
XYZxyz(11.9522, 15.9798, 17.4904)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42796F #79424C
analogous
#427954 #42796F #426879
triadic
#42796F #6F4279 #796F42
tetradic
#42796F #544279 #79424C #687942
square
#42796F #544279 #79424C #687942
split-complementary
#42796F #794268 #795442
monochromatic
#172A26 #2C514B #42796F #58A193 #7DB8AD

Accessibility & contrast

On white

5.00
#42796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#42796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #42796F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42796F#FFFFFF#000000##FFFFFF
##42796F1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75736F
Deuteranopia (green-blind)
#6B6C70
Tritanopia (blue-blind)
#2C7B76
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #42796f;
/* rgb */ color: rgb(66, 121, 111);
/* oklch */ color: oklch(53.5% 0.061 180.8);
Tailwind
colors: {
  custom: {
    50: '#7aa098',
    500: '#42796f',
    950: '#000000',
  },
}
SCSS
$custom: #42796f;
$custom-light: #7aa098;
$custom-dark: #000000;
JSON
{
  "hex": "#42796f",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 169.091,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.535,
    "c": 0.06091,
    "h": 180.8
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#42796F
secondary
#A3747C
accent
#6274C6
background
#F7F9F9
surface
#EEF2F2
border
#C9CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #42796F

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

Preview Lab → · Contrast checker → · Palette generator →

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