#173308#173308

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

Color values

HEX#173308
RGBrgb(23, 51, 8)
HSLhsl(99, 73%, 12%)
HSVhsv(99, 84%, 20%)
CMYKcmyk(54.9%, 0%, 84.3%, 80%)
CIE-LABlab(18.22, -19.86, 22.23)
CIE-LCHlch(18.22, 29.81, 131.78°)
OKLaboklab(28.84% -0.0551 0.0518)
OKLCHoklch(28.84% 0.076 136.8)
XYZxyz(1.5810, 2.5672, 0.6419)
Luminance0.0257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173308 #240833
analogous
#2D3308 #173308 #08330F
triadic
#173308 #081733 #330817
tetradic
#173308 #082D33 #240833 #330F08
square
#173308 #082D33 #240833 #330F08
split-complementary
#173308 #0F0833 #33082D
monochromatic
#0C1A04 #0C1A04 #173308 #2F6810 #479D19

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173308#FFFFFF#000000##FFFFFF
##1733081.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)
#352E03
Deuteranopia (green-blind)
#312C0C
Tritanopia (blue-blind)
#16312B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #173308;
/* rgb */ color: rgb(23, 51, 8);
/* oklch */ color: oklch(28.8% 0.076 136.8);
Tailwind
colors: {
  custom: {
    50: '#576b4b',
    500: '#173308',
    950: '#000000',
  },
}
SCSS
$custom: #173308;
$custom-light: #576b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#173308",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 99.07,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.28836,
    "c": 0.07561,
    "h": 136.8
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#173308
secondary
#572572
accent
#38F0B0
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173308

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

Preview Lab → · Contrast checker → · Palette generator →

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