#173903#173903

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

Color values

HEX#173903
RGBrgb(23, 57, 3)
HSLhsl(98, 90%, 12%)
HSVhsv(98, 95%, 22%)
CMYKcmyk(59.6%, 0%, 94.7%, 77.6%)
CIE-LABlab(20.50, -23.24, 26.89)
CIE-LCHlch(20.50, 35.54, 130.83°)
OKLaboklab(30.7% -0.0647 0.0608)
OKLCHoklch(30.7% 0.089 136.8)
XYZxyz(1.8329, 3.1149, 0.5908)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173903 #250339
analogous
#323903 #173903 #03390A
triadic
#173903 #031739 #390317
tetradic
#173903 #033239 #250339 #390A03
square
#173903 #033239 #250339 #390A03
split-complementary
#173903 #0A0339 #390332
monochromatic
#0C1D02 #0C1D02 #173903 #2E7306 #46AD09

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173903#FFFFFF#000000##FFFFFF
##1739031.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)
#373008
Tritanopia (blue-blind)
#15372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173903;
/* rgb */ color: rgb(23, 57, 3);
/* oklch */ color: oklch(30.7% 0.089 136.8);
Tailwind
colors: {
  custom: {
    50: '#597049',
    500: '#173903',
    950: '#000000',
  },
}
SCSS
$custom: #173903;
$custom-light: #597049;
$custom-dark: #000000;
JSON
{
  "hex": "#173903",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 97.778,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.08876,
    "h": 136.8
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#173903
secondary
#581C7C
accent
#29FFB0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173903

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

Preview Lab → · Contrast checker → · Palette generator →

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