#173306#173306

#173306 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 28.8% C 0.077 H 136.2°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#173306
RGBrgb(23, 51, 6)
HSLhsl(97, 79%, 11%)
HSVhsv(97, 88%, 20%)
CMYKcmyk(54.9%, 0%, 88.2%, 80%)
CIE-LABlab(18.20, -20.08, 23.02)
CIE-LCHlch(18.20, 30.55, 131.09°)
OKLaboklab(28.81% -0.0559 0.0536)
OKLCHoklch(28.81% 0.077 136.2)
XYZxyz(1.5700, 2.5629, 0.5842)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173306 #220633
analogous
#2D3306 #173306 #06330B
triadic
#173306 #061733 #330617
tetradic
#173306 #062D33 #220633 #330B06
square
#173306 #062D33 #220633 #330B06
split-complementary
#173306 #0B0633 #33062D
monochromatic
#0C1B03 #0C1B03 #173306 #306A0C #48A113

Accessibility & contrast

On white

13.88
#173306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#173306 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173306
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173306#FFFFFF#000000##FFFFFF
##1733061.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E01
Deuteranopia (green-blind)
#312C0A
Tritanopia (blue-blind)
#16312A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #173306;
/* rgb */ color: rgb(23, 51, 6);
/* oklch */ color: oklch(28.8% 0.077 136.2);
Tailwind
colors: {
  custom: {
    50: '#576b4a',
    500: '#173306',
    950: '#000000',
  },
}
SCSS
$custom: #173306;
$custom-light: #576b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#173306",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 6
  },
  "hsl": {
    "h": 97.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.07743,
    "h": 136.2
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#173306
secondary
#542174
accent
#32F5AC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173306

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

Preview Lab → · Contrast checker → · Palette generator →

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