#173304#173304

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

Color values

HEX#173304
RGBrgb(23, 51, 4)
HSLhsl(96, 85%, 11%)
HSVhsv(96, 92%, 20%)
CMYKcmyk(54.9%, 0%, 92.2%, 80%)
CIE-LABlab(18.18, -20.29, 23.82)
CIE-LCHlch(18.18, 31.29, 130.43°)
OKLaboklab(28.79% -0.0567 0.0555)
OKLCHoklch(28.79% 0.079 135.6)
XYZxyz(1.5591, 2.5585, 0.5265)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173304 #200433
analogous
#2E3304 #173304 #043308
triadic
#173304 #041733 #330417
tetradic
#173304 #042E33 #200433 #330804
square
#173304 #042E33 #200433 #330804
split-complementary
#173304 #080433 #33042E
monochromatic
#0D1C02 #0D1C02 #173304 #316C08 #4AA40D

Accessibility & contrast

On white

13.89
#173304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173304
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173304#FFFFFF#000000##FFFFFF
##1733041.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#16312A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #173304;
/* rgb */ color: rgb(23, 51, 4);
/* oklch */ color: oklch(28.8% 0.079 135.6);
Tailwind
colors: {
  custom: {
    50: '#576b49',
    500: '#173304',
    950: '#000000',
  },
}
SCSS
$custom: #173304;
$custom-light: #576b49;
$custom-dark: #000000;
JSON
{
  "hex": "#173304",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 95.745,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28792,
    "c": 0.07931,
    "h": 135.6
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#173304
secondary
#521D75
accent
#2CFCA8
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173304

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

Preview Lab → · Contrast checker → · Palette generator →

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