#173103#173103

#173103 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.1% C 0.077 H 134.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#173103
RGBrgb(23, 49, 3)
HSLhsl(94, 88%, 10%)
HSVhsv(94, 94%, 19%)
CMYKcmyk(53.1%, 0%, 93.9%, 80.8%)
CIE-LABlab(17.39, -19.41, 23.27)
CIE-LCHlch(17.39, 30.31, 129.82°)
OKLaboklab(28.14% -0.0545 0.0549)
OKLCHoklch(28.14% 0.077 134.7)
XYZxyz(1.4681, 2.3853, 0.4692)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173103 #1D0331
analogous
#2E3103 #173103 #033106
triadic
#173103 #031731 #310317
tetradic
#173103 #032E31 #1D0331 #310603
square
#173103 #032E31 #1D0331 #310603
split-complementary
#173103 #060331 #31032E
monochromatic
#0E1D02 #0E1D02 #173103 #326B07 #4DA40A

Accessibility & contrast

On white

14.22
#173103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#173103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173103
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173103#FFFFFF#000000##FFFFFF
##1731031.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#162F28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #173103;
/* rgb */ color: rgb(23, 49, 3);
/* oklch */ color: oklch(28.1% 0.077 134.7);
Tailwind
colors: {
  custom: {
    50: '#576948',
    500: '#173103',
    950: '#000000',
  },
}
SCSS
$custom: #173103;
$custom-light: #576948;
$custom-dark: #000000;
JSON
{
  "hex": "#173103",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 3
  },
  "hsl": {
    "h": 93.913,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.07736,
    "h": 134.7
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#173103
secondary
#4E1B74
accent
#29FFA2
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #173103

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

Preview Lab → · Contrast checker → · Palette generator →

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