#172B01#172B01

#172B01 is a dark, moderate yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.071 H 131.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#172B01
RGBrgb(23, 43, 1)
HSLhsl(89, 95%, 9%)
HSVhsv(89, 98%, 17%)
CMYKcmyk(46.5%, 0%, 97.7%, 83.1%)
CIE-LABlab(15.02, -16.54, 21.13)
CIE-LCHlch(15.02, 26.83, 128.07°)
OKLaboklab(26.19% -0.0471 0.0528)
OKLCHoklch(26.19% 0.071 131.7)
XYZxyz(1.2227, 1.9120, 0.3333)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B01 #15012B
analogous
#2B2A01 #172B01 #022B01
triadic
#172B01 #01172B #2B0117
tetradic
#172B01 #012B2A #15012B #2B0102
square
#172B01 #012B2A #15012B #2B0102
split-complementary
#172B01 #01022B #2A012B
monochromatic
#101E01 #101E01 #172B01 #376702 #57A304

Accessibility & contrast

On white

15.19
#172B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#172B01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B01
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B01#FFFFFF#000000##FFFFFF
##172B011.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2B2504
Tritanopia (blue-blind)
#182923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b01;
/* rgb */ color: rgb(23, 43, 1);
/* oklch */ color: oklch(26.2% 0.071 131.7);
Tailwind
colors: {
  custom: {
    50: '#556447',
    500: '#172b01',
    950: '#000000',
  },
}
SCSS
$custom: #172b01;
$custom-light: #556447;
$custom-dark: #000000;
JSON
{
  "hex": "#172b01",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 88.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26188,
    "c": 0.07075,
    "h": 131.7
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#172B01
secondary
#421771
accent
#29FF8F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #172B01

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

Preview Lab → · Contrast checker → · Palette generator →

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