#172B09#172B09

#172B09 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.062 H 134.7°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#172B09
RGBrgb(23, 43, 9)
HSLhsl(95, 65%, 10%)
HSVhsv(95, 79%, 17%)
CMYKcmyk(46.5%, 0%, 79.1%, 83.1%)
CIE-LABlab(15.11, -15.57, 17.99)
CIE-LCHlch(15.11, 23.79, 130.88°)
OKLaboklab(26.3% -0.0433 0.0439)
OKLCHoklch(26.3% 0.062 134.7)
XYZxyz(1.2665, 1.9296, 0.5641)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B09 #1D092B
analogous
#282B09 #172B09 #092B0C
triadic
#172B09 #09172B #2B0917
tetradic
#172B09 #09282B #1D092B #2B0C09
square
#172B09 #09282B #1D092B #2B0C09
split-complementary
#172B09 #0C092B #2B0928
monochromatic
#0E1905 #0E1905 #172B09 #325E14 #4D901E

Accessibility & contrast

On white

15.15
#172B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B09
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B09#FFFFFF#000000##FFFFFF
##172B091.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2706
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#172924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b09;
/* rgb */ color: rgb(23, 43, 9);
/* oklch */ color: oklch(26.3% 0.062 134.7);
Tailwind
colors: {
  custom: {
    50: '#55644b',
    500: '#172b09',
    950: '#000000',
  },
}
SCSS
$custom: #172b09;
$custom-light: #55644b;
$custom-dark: #000000;
JSON
{
  "hex": "#172b09",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 95.294,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26296,
    "c": 0.06168,
    "h": 134.7
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#172B09
secondary
#4E2769
accent
#3FE8A3
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172B09

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

Preview Lab → · Contrast checker → · Palette generator →

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