#172808#172808

#172808 is a dark, muted yellow-green. Relative luminance 0.017; OKLCH L 25.3% C 0.058 H 132.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#172808
RGBrgb(23, 40, 8)
HSLhsl(92, 67%, 9%)
HSVhsv(92, 80%, 16%)
CMYKcmyk(42.5%, 0%, 80%, 84.3%)
CIE-LABlab(13.93, -14.01, 16.86)
CIE-LCHlch(13.93, 21.92, 129.73°)
OKLaboklab(25.32% -0.0392 0.0423)
OKLCHoklch(25.32% 0.058 132.9)
XYZxyz(1.1560, 1.7172, 0.5002)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172808 #190828
analogous
#272808 #172808 #082809
triadic
#172808 #081728 #280817
tetradic
#172808 #082728 #190828 #280908
square
#172808 #082728 #190828 #280908
split-complementary
#172808 #090828 #280827
monochromatic
#0F1A05 #0F1A05 #172808 #345B12 #528E1C

Accessibility & contrast

On white

15.63
#172808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#172808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172808
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172808#FFFFFF#000000##FFFFFF
##1728081.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2405
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#172621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #172808;
/* rgb */ color: rgb(23, 40, 8);
/* oklch */ color: oklch(25.3% 0.058 132.9);
Tailwind
colors: {
  custom: {
    50: '#55624a',
    500: '#172808',
    950: '#000000',
  },
}
SCSS
$custom: #172808;
$custom-light: #55624a;
$custom-dark: #000000;
JSON
{
  "hex": "#172808",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 91.875,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25325,
    "c": 0.05765,
    "h": 132.9
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#172808
secondary
#482567
accent
#3EEA99
background
#F5F5F4
surface
#E8EAE7
border
#C4C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172808

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

Preview Lab → · Contrast checker → · Palette generator →

#172808 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva