#42817A#42817A

#42817A is a mid, moderate teal. Relative luminance 0.183; OKLCH L 55.9% C 0.066 H 186.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#42817A
RGBrgb(66, 129, 122)
HSLhsl(173, 32%, 38%)
HSVhsv(173, 49%, 51%)
CMYKcmyk(48.8%, 0%, 5.4%, 49.4%)
CIE-LABlab(49.81, -22.11, -2.48)
CIE-LCHlch(49.81, 22.24, 186.40°)
OKLaboklab(55.92% -0.0658 -0.007)
OKLCHoklch(55.92% 0.066 186.1)
XYZxyz(13.6084, 18.2628, 21.2165)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42817A #814249
analogous
#42815A #42817A #426881
triadic
#42817A #7A4281 #817A42
tetradic
#42817A #5A4281 #814249 #688142
square
#42817A #5A4281 #814249 #688142
split-complementary
#42817A #814268 #815A42
monochromatic
#19302D #2D5954 #42817A #57A9A0 #80BEB7

Accessibility & contrast

On white

4.51
#42817A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#42817A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42817A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42817A#FFFFFF#000000##000000
##42817A1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7B7A
Deuteranopia (green-blind)
#71737B
Tritanopia (blue-blind)
#23837F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #42817a;
/* rgb */ color: rgb(66, 129, 122);
/* oklch */ color: oklch(55.9% 0.066 186.1);
Tailwind
colors: {
  custom: {
    50: '#7ba6a0',
    500: '#42817a',
    950: '#000000',
  },
}
SCSS
$custom: #42817a;
$custom-light: #7ba6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42817a",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 122
  },
  "hsl": {
    "h": 173.333,
    "s": 32.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.06619,
    "h": 186.1
  },
  "luminance": 0.18264
}

Semantic roles & 50–950 ramp

primary
#42817A
secondary
#A9767C
accent
#5F6BC8
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A0F0E
muted
#7C7F7E

Preview Lab

Preview with #42817A

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

Preview Lab → · Contrast checker → · Palette generator →

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