#172A09#172A09

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

Color values

HEX#172A09
RGBrgb(23, 42, 9)
HSLhsl(95, 65%, 10%)
HSVhsv(95, 79%, 16%)
CMYKcmyk(45.2%, 0%, 78.6%, 83.5%)
CIE-LABlab(14.72, -15.02, 17.49)
CIE-LCHlch(14.72, 23.05, 130.66°)
OKLaboklab(25.98% -0.0418 0.043)
OKLCHoklch(25.98% 0.06 134.2)
XYZxyz(1.2306, 1.8578, 0.5521)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A09 #1C092A
analogous
#282A09 #172A09 #092A0B
triadic
#172A09 #09172A #2A0917
tetradic
#172A09 #09282A #1C092A #2A0B09
square
#172A09 #09282A #1C092A #2A0B09
split-complementary
#172A09 #0B092A #2A0928
monochromatic
#0E1905 #0E1905 #172A09 #335C14 #4E8F1F

Accessibility & contrast

On white

15.31
#172A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A09
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A09#FFFFFF#000000##FFFFFF
##172A091.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2606
Deuteranopia (green-blind)
#29250C
Tritanopia (blue-blind)
#172823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172a09;
/* rgb */ color: rgb(23, 42, 9);
/* oklch */ color: oklch(26.0% 0.060 134.2);
Tailwind
colors: {
  custom: {
    50: '#55634b',
    500: '#172a09',
    950: '#000000',
  },
}
SCSS
$custom: #172a09;
$custom-light: #55634b;
$custom-dark: #000000;
JSON
{
  "hex": "#172a09",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 94.545,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.25977,
    "c": 0.05998,
    "h": 134.2
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#172A09
secondary
#4C2768
accent
#40E8A1
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172A09

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

Preview Lab → · Contrast checker → · Palette generator →

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