#173106#173106

#173106 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.2% C 0.074 H 135.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#173106
RGBrgb(23, 49, 6)
HSLhsl(96, 78%, 11%)
HSVhsv(96, 88%, 19%)
CMYKcmyk(53.1%, 0%, 87.8%, 80.8%)
CIE-LABlab(17.42, -19.08, 22.09)
CIE-LCHlch(17.42, 29.19, 130.82°)
OKLaboklab(28.18% -0.0532 0.052)
OKLCHoklch(28.18% 0.074 135.7)
XYZxyz(1.4845, 2.3918, 0.5557)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173106 #200631
analogous
#2C3106 #173106 #06310A
triadic
#173106 #061731 #310617
tetradic
#173106 #062C31 #200631 #310A06
square
#173106 #062C31 #200631 #310A06
split-complementary
#173106 #0A0631 #31062C
monochromatic
#0D1B03 #0D1B03 #173106 #31680D #4A9E13

Accessibility & contrast

On white

14.20
#173106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#173106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173106
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173106#FFFFFF#000000##FFFFFF
##1731061.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C01
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#162F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #173106;
/* rgb */ color: rgb(23, 49, 6);
/* oklch */ color: oklch(28.2% 0.074 135.7);
Tailwind
colors: {
  custom: {
    50: '#57694a',
    500: '#173106',
    950: '#000000',
  },
}
SCSS
$custom: #173106;
$custom-light: #57694a;
$custom-dark: #000000;
JSON
{
  "hex": "#173106",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 96.279,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28175,
    "c": 0.07439,
    "h": 135.7
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#173106
secondary
#522172
accent
#33F5A8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173106

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

Preview Lab → · Contrast checker → · Palette generator →

#173106 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva