#174B31#174B31

#174B31 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 37.0% C 0.071 H 158.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#174B31
RGBrgb(23, 75, 49)
HSLhsl(150, 53%, 19%)
HSVhsv(150, 69%, 29%)
CMYKcmyk(69.3%, 0%, 34.7%, 70.6%)
CIE-LABlab(27.94, -24.28, 10.55)
CIE-LCHlch(27.94, 26.47, 156.51°)
OKLaboklab(37.04% -0.0661 0.0267)
OKLCHoklch(37.04% 0.071 158)
XYZxyz(3.4235, 5.4357, 3.7739)
Luminance0.0544 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174B31 #4B1731
analogous
#174B17 #174B31 #174B4B
triadic
#174B31 #31174B #4B3117
tetradic
#174B31 #17174B #4B1731 #4B4B17
square
#174B31 #17174B #4B1731 #4B4B17
split-complementary
#174B31 #4B174B #4B1717
monochromatic
#07170F #091C12 #174B31 #257A50 #34A96E

Accessibility & contrast

On white

10.06
#174B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#174B31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174B31
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174B31#FFFFFF#000000##FFFFFF
##174B311.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A452F
Deuteranopia (green-blind)
#434033
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #174b31;
/* rgb */ color: rgb(23, 75, 49);
/* oklch */ color: oklch(37.0% 0.071 158.0);
Tailwind
colors: {
  custom: {
    50: '#5b7e69',
    500: '#174b31',
    950: '#000000',
  },
}
SCSS
$custom: #174b31;
$custom-light: #5b7e69;
$custom-dark: #000000;
JSON
{
  "hex": "#174b31",
  "rgb": {
    "r": 23,
    "g": 75,
    "b": 49
  },
  "hsl": {
    "h": 150,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.07132,
    "h": 158
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#174B31
secondary
#823C5F
accent
#4B94DC
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174B31

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

Preview Lab → · Contrast checker → · Palette generator →

#174B31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva