#172B0B#172B0B

#172B0B is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.3% C 0.060 H 135.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#172B0B
RGBrgb(23, 43, 11)
HSLhsl(98, 59%, 11%)
HSVhsv(98, 74%, 17%)
CMYKcmyk(46.5%, 0%, 74.4%, 83.1%)
CIE-LABlab(15.14, -15.33, 17.19)
CIE-LCHlch(15.14, 23.03, 131.71°)
OKLaboklab(26.32% -0.0425 0.0418)
OKLCHoklch(26.32% 0.06 135.5)
XYZxyz(1.2776, 1.9340, 0.6225)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172B0B #1F0B2B
analogous
#272B0B #172B0B #0B2B0F
triadic
#172B0B #0B172B #2B0B17
tetradic
#172B0B #0B272B #1F0B2B #2B0F0B
square
#172B0B #0B272B #1F0B2B #2B0F0B
split-complementary
#172B0B #0F0B2B #2B0B27
monochromatic
#0D1806 #0D1806 #172B0B #315C17 #4B8C24

Accessibility & contrast

On white

15.14
#172B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#172B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172B0B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172B0B#FFFFFF#000000##FFFFFF
##172B0B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2708
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#172924
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #172b0b;
/* rgb */ color: rgb(23, 43, 11);
/* oklch */ color: oklch(26.3% 0.060 135.5);
Tailwind
colors: {
  custom: {
    50: '#55644c',
    500: '#172b0b',
    950: '#000000',
  },
}
SCSS
$custom: #172b0b;
$custom-light: #55644c;
$custom-dark: #000000;
JSON
{
  "hex": "#172b0b",
  "rgb": {
    "r": 23,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 97.5,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26323,
    "c": 0.0596,
    "h": 135.5
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#172B0B
secondary
#502B67
accent
#45E2A8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030501
muted
#787A77

Preview Lab

Preview with #172B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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