#173108#173108

#173108 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.2% C 0.072 H 136.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#173108
RGBrgb(23, 49, 8)
HSLhsl(98, 72%, 11%)
HSVhsv(98, 84%, 19%)
CMYKcmyk(53.1%, 0%, 83.7%, 80.8%)
CIE-LABlab(17.44, -18.86, 21.30)
CIE-LCHlch(17.44, 28.45, 131.52°)
OKLaboklab(28.2% -0.0524 0.0501)
OKLCHoklch(28.2% 0.072 136.3)
XYZxyz(1.4955, 2.3962, 0.6134)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173108 #220831
analogous
#2B3108 #173108 #08310D
triadic
#173108 #081731 #310817
tetradic
#173108 #082B31 #220831 #310D08
square
#173108 #082B31 #220831 #310D08
split-complementary
#173108 #0D0831 #31082B
monochromatic
#0C1A04 #0C1A04 #173108 #306611 #489A19

Accessibility & contrast

On white

14.20
#173108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173108
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173108#FFFFFF#000000##FFFFFF
##1731081.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C03
Deuteranopia (green-blind)
#302A0C
Tritanopia (blue-blind)
#162F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #173108;
/* rgb */ color: rgb(23, 49, 8);
/* oklch */ color: oklch(28.2% 0.072 136.3);
Tailwind
colors: {
  custom: {
    50: '#57694b',
    500: '#173108',
    950: '#000000',
  },
}
SCSS
$custom: #173108;
$custom-light: #57694b;
$custom-dark: #000000;
JSON
{
  "hex": "#173108",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 8
  },
  "hsl": {
    "h": 98.049,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28198,
    "c": 0.07249,
    "h": 136.3
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#173108
secondary
#542570
accent
#39EFAC
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173108

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

Preview Lab → · Contrast checker → · Palette generator →

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