#173107#173107

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

Color values

HEX#173107
RGBrgb(23, 49, 7)
HSLhsl(97, 75%, 11%)
HSVhsv(97, 86%, 19%)
CMYKcmyk(53.1%, 0%, 85.7%, 80.8%)
CIE-LABlab(17.43, -18.97, 21.69)
CIE-LCHlch(17.43, 28.82, 131.16°)
OKLaboklab(28.19% -0.0528 0.051)
OKLCHoklch(28.19% 0.073 136)
XYZxyz(1.4900, 2.3940, 0.5846)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173107 #210731
analogous
#2C3107 #173107 #07310C
triadic
#173107 #071731 #310717
tetradic
#173107 #072C31 #210731 #310C07
square
#173107 #072C31 #210731 #310C07
split-complementary
#173107 #0C0731 #31072C
monochromatic
#0D1B04 #0D1B04 #173107 #30670F #499C16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173107#FFFFFF#000000##FFFFFF
##1731071.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)
#332C02
Deuteranopia (green-blind)
#302A0B
Tritanopia (blue-blind)
#162F29
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #173107;
/* rgb */ color: rgb(23, 49, 7);
/* oklch */ color: oklch(28.2% 0.073 136.0);
Tailwind
colors: {
  custom: {
    50: '#57694a',
    500: '#173107',
    950: '#000000',
  },
}
SCSS
$custom: #173107;
$custom-light: #57694a;
$custom-dark: #000000;
JSON
{
  "hex": "#173107",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 97.143,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28187,
    "c": 0.07343,
    "h": 136
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#173107
secondary
#532371
accent
#36F2AA
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#030601
muted
#787A77

Preview Lab

Preview with #173107

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

Preview Lab → · Contrast checker → · Palette generator →

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