#172D05#172D05

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

Color values

HEX#172D05
RGBrgb(23, 45, 5)
HSLhsl(93, 80%, 10%)
HSVhsv(93, 89%, 18%)
CMYKcmyk(48.9%, 0%, 88.9%, 82.4%)
CIE-LABlab(15.85, -17.12, 20.55)
CIE-LCHlch(15.85, 26.75, 129.80°)
OKLaboklab(26.88% -0.048 0.0498)
OKLCHoklch(26.88% 0.069 134)
XYZxyz(1.3191, 2.0698, 0.4736)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D05 #1B052D
analogous
#2B2D05 #172D05 #052D07
triadic
#172D05 #05172D #2D0517
tetradic
#172D05 #052B2D #1B052D #2D0705
square
#172D05 #052B2D #1B052D #2D0705
split-complementary
#172D05 #07052D #2D052B
monochromatic
#0E1C03 #0E1C03 #172D05 #33640B #4F9B11

Accessibility & contrast

On white

14.85
#172D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D05
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D05#FFFFFF#000000##FFFFFF
##172D051.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172d05;
/* rgb */ color: rgb(23, 45, 5);
/* oklch */ color: oklch(26.9% 0.069 134.0);
Tailwind
colors: {
  custom: {
    50: '#566649',
    500: '#172d05',
    950: '#000000',
  },
}
SCSS
$custom: #172d05;
$custom-light: #566649;
$custom-dark: #000000;
JSON
{
  "hex": "#172d05",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 93,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26883,
    "c": 0.0692,
    "h": 134
  },
  "luminance": 0.0207
}

Semantic roles & 50–950 ramp

primary
#172D05
secondary
#4B1F6F
accent
#31F69E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172D05

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

Preview Lab → · Contrast checker → · Palette generator →

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