#172B03#172B03

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

Color values

HEX#172B03
RGBrgb(23, 43, 3)
HSLhsl(90, 87%, 9%)
HSVhsv(90, 93%, 17%)
CMYKcmyk(46.5%, 0%, 93%, 83.1%)
CIE-LABlab(15.04, -16.30, 20.34)
CIE-LCHlch(15.04, 26.07, 128.70°)
OKLaboklab(26.22% -0.0461 0.0505)
OKLCHoklch(26.22% 0.068 132.4)
XYZxyz(1.2336, 1.9164, 0.3910)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B03 #17032B
analogous
#2B2B03 #172B03 #032B03
triadic
#172B03 #03172B #2B0317
tetradic
#172B03 #032B2B #17032B #2B0303
square
#172B03 #032B2B #17032B #2B0303
split-complementary
#172B03 #03032B #2B032B
monochromatic
#0F1D02 #0F1D02 #172B03 #366407 #549D0B

Accessibility & contrast

On white

15.18
#172B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172B03
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B03#FFFFFF#000000##FFFFFF
##172B031.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172b03;
/* rgb */ color: rgb(23, 43, 3);
/* oklch */ color: oklch(26.2% 0.068 132.4);
Tailwind
colors: {
  custom: {
    50: '#556448',
    500: '#172b03',
    950: '#000000',
  },
}
SCSS
$custom: #172b03;
$custom-light: #556448;
$custom-dark: #000000;
JSON
{
  "hex": "#172b03",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 90,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26215,
    "c": 0.06835,
    "h": 132.4
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#172B03
secondary
#451B6F
accent
#2BFD94
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030500
muted
#787A77

Preview Lab

Preview with #172B03

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

Preview Lab → · Contrast checker → · Palette generator →

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