#172C09#172C09

#172C09 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.063 H 135.0°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#172C09
RGBrgb(23, 44, 9)
HSLhsl(96, 66%, 10%)
HSVhsv(96, 80%, 17%)
CMYKcmyk(47.7%, 0%, 79.5%, 82.7%)
CIE-LABlab(15.50, -16.12, 18.49)
CIE-LCHlch(15.50, 24.53, 131.08°)
OKLaboklab(26.62% -0.0448 0.0448)
OKLCHoklch(26.62% 0.063 135)
XYZxyz(1.3033, 2.0032, 0.5764)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C09 #1E092C
analogous
#282C09 #172C09 #092C0C
triadic
#172C09 #09172C #2C0917
tetradic
#172C09 #09282C #1E092C #2C0C09
square
#172C09 #09282C #1E092C #2C0C09
split-complementary
#172C09 #0C092C #2C0928
monochromatic
#0D1905 #0D1905 #172C09 #325F13 #4C921E

Accessibility & contrast

On white

14.99
#172C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C09
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C09#FFFFFF#000000##FFFFFF
##172C091.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2805
Deuteranopia (green-blind)
#2B260C
Tritanopia (blue-blind)
#172A25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172c09;
/* rgb */ color: rgb(23, 44, 9);
/* oklch */ color: oklch(26.6% 0.063 135.0);
Tailwind
colors: {
  custom: {
    50: '#56654b',
    500: '#172c09',
    950: '#000000',
  },
}
SCSS
$custom: #172c09;
$custom-light: #56654b;
$custom-dark: #000000;
JSON
{
  "hex": "#172c09",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 96,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.06337,
    "h": 135
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#172C09
secondary
#4F276A
accent
#3FE9A5
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C09

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

Preview Lab → · Contrast checker → · Palette generator →

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