#172C05#172C05

#172C05 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.6% C 0.068 H 133.6°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#172C05
RGBrgb(23, 44, 5)
HSLhsl(92, 80%, 10%)
HSVhsv(92, 89%, 17%)
CMYKcmyk(47.7%, 0%, 88.6%, 82.7%)
CIE-LABlab(15.46, -16.59, 20.06)
CIE-LCHlch(15.46, 26.03, 129.60°)
OKLaboklab(26.56% -0.0466 0.049)
OKLCHoklch(26.56% 0.068 133.6)
XYZxyz(1.2814, 1.9944, 0.4610)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172C05 #1A052C
analogous
#2B2C05 #172C05 #052C07
triadic
#172C05 #05172C #2C0517
tetradic
#172C05 #052B2C #1A052C #2C0705
square
#172C05 #052B2C #1A052C #2C0705
split-complementary
#172C05 #07052C #2C052B
monochromatic
#0E1B03 #0E1B03 #172C05 #34630B #509A11

Accessibility & contrast

On white

15.01
#172C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172C05
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172C05#FFFFFF#000000##FFFFFF
##172C051.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172c05;
/* rgb */ color: rgb(23, 44, 5);
/* oklch */ color: oklch(26.6% 0.068 133.6);
Tailwind
colors: {
  custom: {
    50: '#566549',
    500: '#172c05',
    950: '#000000',
  },
}
SCSS
$custom: #172c05;
$custom-light: #566549;
$custom-dark: #000000;
JSON
{
  "hex": "#172c05",
  "rgb": {
    "r": 23,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 92.308,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26562,
    "c": 0.06762,
    "h": 133.6
  },
  "luminance": 0.01994
}

Semantic roles & 50–950 ramp

primary
#172C05
secondary
#491F6E
accent
#32F69B
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172C05

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

Preview Lab → · Contrast checker → · Palette generator →

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