#172803#172803

#172803 is a dark, moderate yellow-green. Relative luminance 0.017; OKLCH L 25.3% C 0.064 H 130.9°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#172803
RGBrgb(23, 40, 3)
HSLhsl(88, 86%, 8%)
HSVhsv(88, 93%, 16%)
CMYKcmyk(42.5%, 0%, 92.5%, 84.3%)
CIE-LABlab(13.86, -14.65, 18.81)
CIE-LCHlch(13.86, 23.84, 127.92°)
OKLaboklab(25.25% -0.0417 0.0482)
OKLCHoklch(25.25% 0.064 130.9)
XYZxyz(1.1286, 1.7063, 0.3560)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172803 #140328
analogous
#282603 #172803 #042803
triadic
#172803 #031728 #280317
tetradic
#172803 #032826 #140328 #280304
square
#172803 #032826 #140328 #280304
split-complementary
#172803 #030428 #260328
monochromatic
#101C02 #101C02 #172803 #386107 #589A0C

Accessibility & contrast

On white

15.66
#172803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#172803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172803
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172803#FFFFFF#000000##FFFFFF
##1728031.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#182621
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #172803;
/* rgb */ color: rgb(23, 40, 3);
/* oklch */ color: oklch(25.3% 0.064 130.9);
Tailwind
colors: {
  custom: {
    50: '#556248',
    500: '#172803',
    950: '#000000',
  },
}
SCSS
$custom: #172803;
$custom-light: #556248;
$custom-dark: #000000;
JSON
{
  "hex": "#172803",
  "rgb": {
    "r": 23,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 87.568,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25252,
    "c": 0.06368,
    "h": 130.9
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#172803
secondary
#401B6C
accent
#2CFC8B
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#030500
muted
#787977

Preview Lab

Preview with #172803

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

Preview Lab → · Contrast checker → · Palette generator →

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