#17472B#17472B

#17472B is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.071 H 154.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#17472B
RGBrgb(23, 71, 43)
HSLhsl(145, 51%, 18%)
HSVhsv(145, 68%, 28%)
CMYKcmyk(67.6%, 0%, 39.4%, 72.2%)
CIE-LABlab(26.34, -23.75, 12.17)
CIE-LCHlch(26.34, 26.68, 152.86°)
OKLaboklab(35.68% -0.0644 0.0306)
OKLCHoklch(35.68% 0.071 154.6)
XYZxyz(3.0424, 4.8628, 3.0633)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17472B #471733
analogous
#1B4717 #17472B #174743
triadic
#17472B #2B1747 #472B17
tetradic
#17472B #171B47 #471733 #474317
square
#17472B #171B47 #471733 #474317
split-complementary
#17472B #431747 #47171B
monochromatic
#07170E #08190F #17472B #267547 #35A363

Accessibility & contrast

On white

10.65
#17472B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#17472B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17472B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17472B#FFFFFF#000000##FFFFFF
##17472B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#403C2D
Tritanopia (blue-blind)
#054640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #17472b;
/* rgb */ color: rgb(23, 71, 43);
/* oklch */ color: oklch(35.7% 0.071 154.6);
Tailwind
colors: {
  custom: {
    50: '#5a7b64',
    500: '#17472b',
    950: '#000000',
  },
}
SCSS
$custom: #17472b;
$custom-light: #5a7b64;
$custom-dark: #000000;
JSON
{
  "hex": "#17472b",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 43
  },
  "hsl": {
    "h": 145,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3568,
    "c": 0.07131,
    "h": 154.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#17472B
secondary
#7E3C62
accent
#4DA0DB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #17472B

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

Preview Lab → · Contrast checker → · Palette generator →

#17472B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva