#173307#173307

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

Color values

HEX#173307
RGBrgb(23, 51, 7)
HSLhsl(98, 76%, 11%)
HSVhsv(98, 86%, 20%)
CMYKcmyk(54.9%, 0%, 86.3%, 80%)
CIE-LABlab(18.21, -19.97, 22.63)
CIE-LCHlch(18.21, 30.18, 131.43°)
OKLaboklab(28.83% -0.0555 0.0527)
OKLCHoklch(28.83% 0.077 136.5)
XYZxyz(1.5755, 2.5651, 0.6131)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173307 #230733
analogous
#2D3307 #173307 #07330D
triadic
#173307 #071733 #330717
tetradic
#173307 #072D33 #230733 #330D07
square
#173307 #072D33 #230733 #330D07
split-complementary
#173307 #0D0733 #33072D
monochromatic
#0C1B04 #0C1B04 #173307 #2F690E #489F16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173307#FFFFFF#000000##FFFFFF
##1733071.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)
#352E02
Deuteranopia (green-blind)
#312C0B
Tritanopia (blue-blind)
#16312A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #173307;
/* rgb */ color: rgb(23, 51, 7);
/* oklch */ color: oklch(28.8% 0.077 136.5);
Tailwind
colors: {
  custom: {
    50: '#576b4a',
    500: '#173307',
    950: '#000000',
  },
}
SCSS
$custom: #173307;
$custom-light: #576b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#173307",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 98.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28825,
    "c": 0.07652,
    "h": 136.5
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#173307
secondary
#562373
accent
#35F2AE
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173307

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

Preview Lab → · Contrast checker → · Palette generator →

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