#17402C#17402C

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

Color values

HEX#17402C
RGBrgb(23, 64, 44)
HSLhsl(151, 47%, 17%)
HSVhsv(151, 64%, 25%)
CMYKcmyk(64.1%, 0%, 31.2%, 74.9%)
CIE-LABlab(23.77, -19.99, 8.02)
CIE-LCHlch(23.77, 21.54, 158.13°)
OKLaboklab(33.59% -0.0548 0.0204)
OKLCHoklch(33.59% 0.058 159.5)
XYZxyz(2.6411, 4.0306, 3.0212)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17402C #40172B
analogous
#174018 #17402C #174040
triadic
#17402C #2C1740 #402C17
tetradic
#17402C #181740 #40172B #404017
square
#17402C #181740 #40172B #404017
split-complementary
#17402C #401740 #401817
monochromatic
#08170F #08170F #17402C #276D4B #379A6A

Accessibility & contrast

On white

11.63
#17402C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17402C
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17402C#FFFFFF#000000##FFFFFF
##17402C1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2B
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#08403B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17402c;
/* rgb */ color: rgb(23, 64, 44);
/* oklch */ color: oklch(33.6% 0.058 159.5);
Tailwind
colors: {
  custom: {
    50: '#587565',
    500: '#17402c',
    950: '#000000',
  },
}
SCSS
$custom: #17402c;
$custom-light: #587565;
$custom-dark: #000000;
JSON
{
  "hex": "#17402c",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 150.732,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33586,
    "c": 0.05847,
    "h": 159.5
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#17402C
secondary
#773C59
accent
#5192D7
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040805
muted
#797B7A

Preview Lab

Preview with #17402C

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

Preview Lab → · Contrast checker → · Palette generator →

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