#172D03#172D03

#172D03 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.9% C 0.071 H 133.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#172D03
RGBrgb(23, 45, 3)
HSLhsl(91, 88%, 9%)
HSVhsv(91, 93%, 18%)
CMYKcmyk(48.9%, 0%, 93.3%, 82.4%)
CIE-LABlab(15.83, -17.36, 21.34)
CIE-LCHlch(15.83, 27.51, 129.13°)
OKLaboklab(26.86% -0.049 0.052)
OKLCHoklch(26.86% 0.071 133.3)
XYZxyz(1.3082, 2.0654, 0.4159)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D03 #19032D
analogous
#2C2D03 #172D03 #032D04
triadic
#172D03 #03172D #2D0317
tetradic
#172D03 #032C2D #19032D #2D0403
square
#172D03 #032C2D #19032D #2D0403
split-complementary
#172D03 #04032D #2D032C
monochromatic
#0F1D02 #0F1D02 #172D03 #346607 #52A00B

Accessibility & contrast

On white

14.86
#172D03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#172D03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D03
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D03#FFFFFF#000000##FFFFFF
##172D031.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#2C2706
Tritanopia (blue-blind)
#172B25
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #172d03;
/* rgb */ color: rgb(23, 45, 3);
/* oklch */ color: oklch(26.9% 0.071 133.3);
Tailwind
colors: {
  custom: {
    50: '#566648',
    500: '#172d03',
    950: '#000000',
  },
}
SCSS
$custom: #172d03;
$custom-light: #566648;
$custom-dark: #000000;
JSON
{
  "hex": "#172d03",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 3
  },
  "hsl": {
    "h": 91.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26857,
    "c": 0.0714,
    "h": 133.3
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#172D03
secondary
#481B71
accent
#2AFE99
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #172D03

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

Preview Lab → · Contrast checker → · Palette generator →

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