#172B05#172B05

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

Color values

HEX#172B05
RGBrgb(23, 43, 5)
HSLhsl(92, 79%, 9%)
HSVhsv(92, 88%, 17%)
CMYKcmyk(46.5%, 0%, 88.4%, 83.1%)
CIE-LABlab(15.07, -16.05, 19.56)
CIE-LCHlch(15.07, 25.30, 129.38°)
OKLaboklab(26.24% -0.0451 0.0482)
OKLCHoklch(26.24% 0.066 133.1)
XYZxyz(1.2446, 1.9208, 0.4487)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B05 #19052B
analogous
#2A2B05 #172B05 #052B06
triadic
#172B05 #05172B #2B0517
tetradic
#172B05 #052A2B #19052B #2B0605
square
#172B05 #052A2B #19052B #2B0605
split-complementary
#172B05 #06052B #2B052A
monochromatic
#0F1B03 #0F1B03 #172B05 #34620B #529912

Accessibility & contrast

On white

15.17
#172B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B05
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B05#FFFFFF#000000##FFFFFF
##172B051.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#172923
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b05;
/* rgb */ color: rgb(23, 43, 5);
/* oklch */ color: oklch(26.2% 0.066 133.1);
Tailwind
colors: {
  custom: {
    50: '#556449',
    500: '#172b05',
    950: '#000000',
  },
}
SCSS
$custom: #172b05;
$custom-light: #556449;
$custom-dark: #000000;
JSON
{
  "hex": "#172b05",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 91.579,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26242,
    "c": 0.06604,
    "h": 133.1
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#172B05
secondary
#481F6D
accent
#32F699
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172B05

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

Preview Lab → · Contrast checker → · Palette generator →

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