#172300#172300

#172300 is a very dark, moderate yellow-green. Relative luminance 0.014; OKLCH L 23.6% C 0.060 H 126.3°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#172300
RGBrgb(23, 35, 0)
HSLhsl(81, 100%, 7%)
HSVhsv(81, 100%, 14%)
CMYKcmyk(34.3%, 0%, 100%, 86.3%)
CIE-LABlab(11.85, -12.18, 17.33)
CIE-LCHlch(11.85, 21.19, 125.10°)
OKLaboklab(23.6% -0.0357 0.0486)
OKLCHoklch(23.6% 0.06 126.3)
XYZxyz(0.9544, 1.3842, 0.2169)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172300 #0C0023
analogous
#231E00 #172300 #062300
triadic
#172300 #001723 #230017
tetradic
#172300 #00231E #0C0023 #230006
square
#172300 #00231E #0C0023 #230006
split-complementary
#172300 #000623 #1E0023
monochromatic
#141F00 #141F00 #172300 #3F6000 #679D00

Accessibility & contrast

On white

16.45
#172300 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#172300 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172300
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172300#FFFFFF#000000##FFFFFF
##1723001.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#241F02
Tritanopia (blue-blind)
#19211C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #172300;
/* rgb */ color: rgb(23, 35, 0);
/* oklch */ color: oklch(23.6% 0.060 126.3);
Tailwind
colors: {
  custom: {
    50: '#545e46',
    500: '#172300',
    950: '#000000',
  },
}
SCSS
$custom: #172300;
$custom-light: #545e46;
$custom-dark: #000000;
JSON
{
  "hex": "#172300",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 0
  },
  "hsl": {
    "h": 80.571,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23601,
    "c": 0.06029,
    "h": 126.3
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#172300
secondary
#31136C
accent
#29FF72
background
#F4F5F3
surface
#E7E9E5
border
#C3C5C1
text
#030400
muted
#787977

Preview Lab

Preview with #172300

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

Preview Lab → · Contrast checker → · Palette generator →

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