#172C00#172C00

#172C00 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.5% C 0.073 H 131.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#172C00
RGBrgb(23, 44, 0)
HSLhsl(89, 100%, 9%)
HSVhsv(89, 100%, 17%)
CMYKcmyk(47.7%, 0%, 100%, 82.7%)
CIE-LABlab(15.40, -17.20, 22.02)
CIE-LCHlch(15.40, 27.94, 127.99°)
OKLaboklab(26.5% -0.049 0.0547)
OKLCHoklch(26.5% 0.073 131.9)
XYZxyz(1.2540, 1.9835, 0.3168)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C00 #15002C
analogous
#2C2B00 #172C00 #012C00
triadic
#172C00 #00172C #2C0017
tetradic
#172C00 #002C2B #15002C #2C0001
square
#172C00 #002C2B #15002C #2C0001
split-complementary
#172C00 #00012C #2B002C
monochromatic
#101F00 #101F00 #172C00 #376900 #57A600

Accessibility & contrast

On white

15.03
#172C00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#172C00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172C00
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C00#FFFFFF#000000##FFFFFF
##172C001.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2C2603
Tritanopia (blue-blind)
#172A24
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172c00;
/* rgb */ color: rgb(23, 44, 0);
/* oklch */ color: oklch(26.5% 0.073 131.9);
Tailwind
colors: {
  custom: {
    50: '#566547',
    500: '#172c00',
    950: '#000000',
  },
}
SCSS
$custom: #172c00;
$custom-light: #566547;
$custom-dark: #000000;
JSON
{
  "hex": "#172c00",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 0
  },
  "hsl": {
    "h": 88.636,
    "s": 100,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26497,
    "c": 0.07343,
    "h": 131.9
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#172C00
secondary
#421473
accent
#29FF8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #172C00

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

Preview Lab → · Contrast checker → · Palette generator →

#172C00 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva