#172012#172012

#172012 is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.0% C 0.029 H 134.8°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#172012
RGBrgb(23, 32, 18)
HSLhsl(99, 28%, 10%)
HSVhsv(99, 44%, 13%)
CMYKcmyk(28.1%, 0%, 43.8%, 87.5%)
CIE-LABlab(10.98, -7.52, 8.02)
CIE-LCHlch(10.98, 10.99, 133.17°)
OKLaboklab(23% -0.0205 0.0206)
OKLCHoklch(23% 0.029 134.8)
XYZxyz(0.9790, 1.2588, 0.7635)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172012 #1B1220
analogous
#1E2012 #172012 #122014
triadic
#172012 #121720 #201217
tetradic
#172012 #121E20 #1B1220 #201412
square
#172012 #121E20 #1B1220 #201412
split-complementary
#172012 #141220 #20121E
monochromatic
#0E140B #0E140B #172012 #334728 #4F6E3E

Accessibility & contrast

On white

16.78
#172012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#172012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172012
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172012#FFFFFF#000000##FFFFFF
##1720121.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#201D13
Tritanopia (blue-blind)
#171F1C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #172012;
/* rgb */ color: rgb(23, 32, 18);
/* oklch */ color: oklch(23.0% 0.029 134.8);
Tailwind
colors: {
  custom: {
    50: '#545b50',
    500: '#172012',
    950: '#000000',
  },
}
SCSS
$custom: #172012;
$custom-light: #545b50;
$custom-dark: #000000;
JSON
{
  "hex": "#172012",
  "rgb": {
    "r": 23,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 98.571,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22997,
    "c": 0.02907,
    "h": 134.8
  },
  "luminance": 0.01259
}

Semantic roles & 50–950 ramp

primary
#172012
secondary
#4B3955
accent
#63C4A2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020402
muted
#787978

Preview Lab

Preview with #172012

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

Preview Lab → · Contrast checker → · Palette generator →

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