#172D01#172D01

#172D01 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.8% C 0.074 H 132.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#172D01
RGBrgb(23, 45, 1)
HSLhsl(90, 96%, 9%)
HSVhsv(90, 98%, 18%)
CMYKcmyk(48.9%, 0%, 97.8%, 82.4%)
CIE-LABlab(15.80, -17.60, 22.13)
CIE-LCHlch(15.80, 28.27, 128.50°)
OKLaboklab(26.83% -0.0499 0.0542)
OKLCHoklch(26.83% 0.074 132.7)
XYZxyz(1.2972, 2.0611, 0.3582)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D01 #17012D
analogous
#2D2D01 #172D01 #012D01
triadic
#172D01 #01172D #2D0117
tetradic
#172D01 #012D2D #17012D #2D0101
square
#172D01 #012D2D #17012D #2D0101
split-complementary
#172D01 #01012D #2D012D
monochromatic
#0F1E01 #0F1E01 #172D01 #366902 #54A504

Accessibility & contrast

On white

14.87
#172D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D01
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D01#FFFFFF#000000##FFFFFF
##172D011.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172d01;
/* rgb */ color: rgb(23, 45, 1);
/* oklch */ color: oklch(26.8% 0.074 132.7);
Tailwind
colors: {
  custom: {
    50: '#566647',
    500: '#172d01',
    950: '#000000',
  },
}
SCSS
$custom: #172d01;
$custom-light: #566647;
$custom-dark: #000000;
JSON
{
  "hex": "#172d01",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 1
  },
  "hsl": {
    "h": 90,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26832,
    "c": 0.07368,
    "h": 132.7
  },
  "luminance": 0.02061
}

Semantic roles & 50–950 ramp

primary
#172D01
secondary
#451773
accent
#29FF94
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #172D01

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

Preview Lab → · Contrast checker → · Palette generator →

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