#172C03#172C03

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

Color values

HEX#172C03
RGBrgb(23, 44, 3)
HSLhsl(91, 87%, 9%)
HSVhsv(91, 93%, 17%)
CMYKcmyk(47.7%, 0%, 93.2%, 82.7%)
CIE-LABlab(15.43, -16.83, 20.84)
CIE-LCHlch(15.43, 26.79, 128.92°)
OKLaboklab(26.54% -0.0475 0.0512)
OKLCHoklch(26.54% 0.07 132.9)
XYZxyz(1.2705, 1.9900, 0.4033)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C03 #18032C
analogous
#2C2C03 #172C03 #032C04
triadic
#172C03 #03172C #2C0317
tetradic
#172C03 #032C2C #18032C #2C0403
square
#172C03 #032C2C #18032C #2C0403
split-complementary
#172C03 #04032C #2C032C
monochromatic
#0F1D02 #0F1D02 #172C03 #356507 #539F0B

Accessibility & contrast

On white

15.02
#172C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C03
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C03#FFFFFF#000000##FFFFFF
##172C031.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172c03;
/* rgb */ color: rgb(23, 44, 3);
/* oklch */ color: oklch(26.5% 0.070 132.9);
Tailwind
colors: {
  custom: {
    50: '#566548',
    500: '#172c03',
    950: '#000000',
  },
}
SCSS
$custom: #172c03;
$custom-light: #566548;
$custom-dark: #000000;
JSON
{
  "hex": "#172c03",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 90.732,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26536,
    "c": 0.06987,
    "h": 132.9
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#172C03
secondary
#461B70
accent
#2AFD96
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #172C03

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

Preview Lab → · Contrast checker → · Palette generator →

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