#17402D#17402D

#17402D is a dark, muted teal. Relative luminance 0.040; OKLCH L 33.6% C 0.057 H 160.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#17402D
RGBrgb(23, 64, 45)
HSLhsl(152, 47%, 17%)
HSVhsv(152, 64%, 25%)
CMYKcmyk(64.1%, 0%, 29.7%, 74.9%)
CIE-LABlab(23.80, -19.73, 7.41)
CIE-LCHlch(23.80, 21.08, 159.43°)
OKLaboklab(33.61% -0.0542 0.0189)
OKLCHoklch(33.61% 0.057 160.8)
XYZxyz(2.6602, 4.0382, 3.1214)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17402D #40172A
analogous
#174019 #17402D #173F40
triadic
#17402D #2D1740 #402D17
tetradic
#17402D #191740 #40172A #3F4017
square
#17402D #191740 #40172A #3F4017
split-complementary
#17402D #40173F #401917
monochromatic
#081710 #081710 #17402D #276D4D #379A6C

Accessibility & contrast

On white

11.62
#17402D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#17402D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17402D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17402D#FFFFFF#000000##FFFFFF
##17402D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2C
Deuteranopia (green-blind)
#39372E
Tritanopia (blue-blind)
#07403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17402d;
/* rgb */ color: rgb(23, 64, 45);
/* oklch */ color: oklch(33.6% 0.057 160.8);
Tailwind
colors: {
  custom: {
    50: '#587566',
    500: '#17402d',
    950: '#000000',
  },
}
SCSS
$custom: #17402d;
$custom-light: #587566;
$custom-dark: #000000;
JSON
{
  "hex": "#17402d",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 152.195,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.05742,
    "h": 160.8
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#17402D
secondary
#773C57
accent
#518FD7
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #17402D

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

Preview Lab → · Contrast checker → · Palette generator →

#17402D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva