#173904#173904

#173904 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.088 H 137.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#173904
RGBrgb(23, 57, 4)
HSLhsl(98, 87%, 12%)
HSVhsv(98, 93%, 22%)
CMYKcmyk(59.6%, 0%, 93%, 77.6%)
CIE-LABlab(20.51, -23.14, 26.49)
CIE-LCHlch(20.51, 35.18, 131.14°)
OKLaboklab(30.71% -0.0643 0.0599)
OKLCHoklch(30.71% 0.088 137)
XYZxyz(1.8383, 3.1170, 0.6196)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173904 #260439
analogous
#323904 #173904 #04390C
triadic
#173904 #041739 #390417
tetradic
#173904 #043239 #260439 #390C04
square
#173904 #043239 #260439 #390C04
split-complementary
#173904 #0C0439 #390432
monochromatic
#0C1D02 #0C1D02 #173904 #2E7208 #45AB0C

Accessibility & contrast

On white

12.94
#173904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#173904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173904
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173904#FFFFFF#000000##FFFFFF
##1739041.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#15372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173904;
/* rgb */ color: rgb(23, 57, 4);
/* oklch */ color: oklch(30.7% 0.088 137.0);
Tailwind
colors: {
  custom: {
    50: '#597049',
    500: '#173904',
    950: '#000000',
  },
}
SCSS
$custom: #173904;
$custom-light: #597049;
$custom-dark: #000000;
JSON
{
  "hex": "#173904",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 98.491,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.08792,
    "h": 137
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#173904
secondary
#5A1E7B
accent
#2BFDB2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173904

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

Preview Lab → · Contrast checker → · Palette generator →

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