#172B0D#172B0D

#172B0D is a dark, muted green. Relative luminance 0.019; OKLCH L 26.4% C 0.057 H 136.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#172B0D
RGBrgb(23, 43, 13)
HSLhsl(100, 54%, 11%)
HSVhsv(100, 70%, 17%)
CMYKcmyk(46.5%, 0%, 69.8%, 83.1%)
CIE-LABlab(15.16, -15.06, 16.32)
CIE-LCHlch(15.16, 22.21, 132.71°)
OKLaboklab(26.35% -0.0416 0.0396)
OKLCHoklch(26.35% 0.057 136.4)
XYZxyz(1.2898, 1.9389, 0.6870)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B0D #210D2B
analogous
#262B0D #172B0D #0D2B12
triadic
#172B0D #0D172B #2B0D17
tetradic
#172B0D #0D262B #210D2B #2B120D
square
#172B0D #0D262B #210D2B #2B120D
split-complementary
#172B0D #120D2B #2B0D26
monochromatic
#0D1707 #0D1707 #172B0D #305A1B #498929

Accessibility & contrast

On white

15.13
#172B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B0D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B0D#FFFFFF#000000##FFFFFF
##172B0D1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270A
Deuteranopia (green-blind)
#2A250F
Tritanopia (blue-blind)
#162924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b0d;
/* rgb */ color: rgb(23, 43, 13);
/* oklch */ color: oklch(26.4% 0.057 136.4);
Tailwind
colors: {
  custom: {
    50: '#55644d',
    500: '#172b0d',
    950: '#000000',
  },
}
SCSS
$custom: #172b0d;
$custom-light: #55644d;
$custom-dark: #000000;
JSON
{
  "hex": "#172b0d",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 100,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26353,
    "c": 0.05741,
    "h": 136.4
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#172B0D
secondary
#532E66
accent
#4BDDAC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172B0D

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

Preview Lab → · Contrast checker → · Palette generator →

#172B0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva