#172D06#172D06

#172D06 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 26.9% C 0.068 H 134.3°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#172D06
RGBrgb(23, 45, 6)
HSLhsl(94, 76%, 10%)
HSVhsv(94, 87%, 18%)
CMYKcmyk(48.9%, 0%, 86.7%, 82.4%)
CIE-LABlab(15.86, -17.01, 20.16)
CIE-LCHlch(15.86, 26.38, 130.15°)
OKLaboklab(26.9% -0.0476 0.0487)
OKLCHoklch(26.9% 0.068 134.3)
XYZxyz(1.3246, 2.0720, 0.5024)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D06 #1C062D
analogous
#2B2D06 #172D06 #062D08
triadic
#172D06 #06172D #2D0617
tetradic
#172D06 #062B2D #1C062D #2D0806
square
#172D06 #062B2D #1C062D #2D0806
split-complementary
#172D06 #08062D #2D062B
monochromatic
#0E1B04 #0E1B04 #172D06 #33630D #4E9914

Accessibility & contrast

On white

14.85
#172D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D06
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D06#FFFFFF#000000##FFFFFF
##172D061.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #172d06;
/* rgb */ color: rgb(23, 45, 6);
/* oklch */ color: oklch(26.9% 0.068 134.3);
Tailwind
colors: {
  custom: {
    50: '#566649',
    500: '#172d06',
    950: '#000000',
  },
}
SCSS
$custom: #172d06;
$custom-light: #566649;
$custom-dark: #000000;
JSON
{
  "hex": "#172d06",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 93.846,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.26896,
    "c": 0.06813,
    "h": 134.3
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#172D06
secondary
#4C216E
accent
#35F3A0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #172D06

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

Preview Lab → · Contrast checker → · Palette generator →

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