#172002#172002

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

Color values

HEX#172002
RGBrgb(23, 32, 2)
HSLhsl(78, 88%, 7%)
HSVhsv(78, 94%, 13%)
CMYKcmyk(28.1%, 0%, 93.8%, 87.5%)
CIE-LABlab(10.70, -10.07, 14.93)
CIE-LCHlch(10.70, 18.00, 124.00°)
OKLaboklab(22.68% -0.0294 0.0434)
OKLCHoklch(22.68% 0.052 124.1)
XYZxyz(0.8808, 1.2196, 0.2464)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172002 #0B0220
analogous
#201A02 #172002 #082002
triadic
#172002 #021720 #200217
tetradic
#172002 #02201A #0B0220 #200208
square
#172002 #02201A #0B0220 #200208
split-complementary
#172002 #020820 #1A0220
monochromatic
#151D02 #151D02 #172002 #405A06 #6A9309

Accessibility & contrast

On white

16.88
#172002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172002
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172002#FFFFFF#000000##FFFFFF
##1720021.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172002;
/* rgb */ color: rgb(23, 32, 2);
/* oklch */ color: oklch(22.7% 0.052 124.1);
Tailwind
colors: {
  custom: {
    50: '#535b47',
    500: '#172002',
    950: '#000000',
  },
}
SCSS
$custom: #172002;
$custom-light: #535b47;
$custom-dark: #000000;
JSON
{
  "hex": "#172002",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 78,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.22677,
    "c": 0.05245,
    "h": 124.1
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#172002
secondary
#2F1866
accent
#29FE69
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#020400
muted
#787977

Preview Lab

Preview with #172002

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

Preview Lab → · Contrast checker → · Palette generator →

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