#17472A#17472A

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

Color values

HEX#17472A
RGBrgb(23, 71, 42)
HSLhsl(144, 51%, 18%)
HSVhsv(144, 68%, 28%)
CMYKcmyk(67.6%, 0%, 40.8%, 72.2%)
CIE-LABlab(26.32, -23.97, 12.77)
CIE-LCHlch(26.32, 27.16, 151.95°)
OKLaboklab(35.66% -0.065 0.032)
OKLCHoklch(35.66% 0.072 153.8)
XYZxyz(3.0243, 4.8555, 2.9679)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17472A #471734
analogous
#1C4717 #17472A #174742
triadic
#17472A #2A1747 #472A17
tetradic
#17472A #171C47 #471734 #474217
square
#17472A #171C47 #471734 #474217
split-complementary
#17472A #421747 #47171C
monochromatic
#07170E #08190F #17472A #267545 #35A361

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17472A#FFFFFF#000000##FFFFFF
##17472A1.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)
#474128
Deuteranopia (green-blind)
#413C2C
Tritanopia (blue-blind)
#064640
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #17472a;
/* rgb */ color: rgb(23, 71, 42);
/* oklch */ color: oklch(35.7% 0.072 153.8);
Tailwind
colors: {
  custom: {
    50: '#5a7b63',
    500: '#17472a',
    950: '#000000',
  },
}
SCSS
$custom: #17472a;
$custom-light: #5a7b63;
$custom-dark: #000000;
JSON
{
  "hex": "#17472a",
  "rgb": {
    "r": 23,
    "g": 71,
    "b": 42
  },
  "hsl": {
    "h": 143.75,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.35656,
    "c": 0.07242,
    "h": 153.8
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#17472A
secondary
#7E3C64
accent
#4DA3DB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040905
muted
#797B79

Preview Lab

Preview with #17472A

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

Preview Lab → · Contrast checker → · Palette generator →

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