#172004#172004

#172004 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.7% C 0.049 H 124.9°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#172004
RGBrgb(23, 32, 4)
HSLhsl(79, 78%, 7%)
HSVhsv(79, 88%, 13%)
CMYKcmyk(28.1%, 0%, 87.5%, 87.5%)
CIE-LABlab(10.73, -9.77, 14.15)
CIE-LCHlch(10.73, 17.20, 124.61°)
OKLaboklab(22.71% -0.0282 0.0404)
OKLCHoklch(22.71% 0.049 124.9)
XYZxyz(0.8918, 1.2239, 0.3041)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172004 #0D0420
analogous
#201B04 #172004 #092004
triadic
#172004 #041720 #200417
tetradic
#172004 #04201B #0D0420 #200409
square
#172004 #04201B #0D0420 #200409
split-complementary
#172004 #040920 #1B0420
monochromatic
#141B03 #141B03 #172004 #3E560B #658D12

Accessibility & contrast

On white

16.87
#172004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#172004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172004
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172004#FFFFFF#000000##FFFFFF
##1720041.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D02
Deuteranopia (green-blind)
#211D06
Tritanopia (blue-blind)
#191E1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #172004;
/* rgb */ color: rgb(23, 32, 4);
/* oklch */ color: oklch(22.7% 0.049 124.9);
Tailwind
colors: {
  custom: {
    50: '#535b48',
    500: '#172004',
    950: '#000000',
  },
}
SCSS
$custom: #172004;
$custom-light: #535b48;
$custom-dark: #000000;
JSON
{
  "hex": "#172004",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 79.286,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.22713,
    "c": 0.04925,
    "h": 124.9
  },
  "luminance": 0.01224
}

Semantic roles & 50–950 ramp

primary
#172004
secondary
#331D63
accent
#34F471
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #172004

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

Preview Lab → · Contrast checker → · Palette generator →

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