#172A0D#172A0D

#172A0D is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.056 H 136.1°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#172A0D
RGBrgb(23, 42, 13)
HSLhsl(99, 53%, 11%)
HSVhsv(99, 69%, 16%)
CMYKcmyk(45.2%, 0%, 69%, 83.5%)
CIE-LABlab(14.77, -14.50, 15.82)
CIE-LCHlch(14.77, 21.46, 132.52°)
OKLaboklab(26.04% -0.04 0.0386)
OKLCHoklch(26.04% 0.056 136.1)
XYZxyz(1.2539, 1.8671, 0.6750)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A0D #200D2A
analogous
#252A0D #172A0D #0D2A11
triadic
#172A0D #0D172A #2A0D17
tetradic
#172A0D #0D252A #200D2A #2A110D
square
#172A0D #0D252A #200D2A #2A110D
split-complementary
#172A0D #110D2A #2A0D25
monochromatic
#0D1707 #0D1707 #172A0D #31591B #4A872A

Accessibility & contrast

On white

15.29
#172A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#172A0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172A0D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A0D#FFFFFF#000000##FFFFFF
##172A0D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#29250F
Tritanopia (blue-blind)
#162824
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172a0d;
/* rgb */ color: rgb(23, 42, 13);
/* oklch */ color: oklch(26.0% 0.056 136.1);
Tailwind
colors: {
  custom: {
    50: '#55634d',
    500: '#172a0d',
    950: '#000000',
  },
}
SCSS
$custom: #172a0d;
$custom-light: #55634d;
$custom-dark: #000000;
JSON
{
  "hex": "#172a0d",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 13
  },
  "hsl": {
    "h": 99.31,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26035,
    "c": 0.05561,
    "h": 136.1
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#172A0D
secondary
#522E64
accent
#4CDCAA
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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