#17371C#17371C

#17371C is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.4% C 0.061 H 147.3°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#17371C
RGBrgb(23, 55, 28)
HSLhsl(129, 41%, 15%)
HSVhsv(129, 58%, 22%)
CMYKcmyk(58.2%, 0%, 49.1%, 78.4%)
CIE-LABlab(20.04, -18.95, 13.40)
CIE-LCHlch(20.04, 23.20, 144.73°)
OKLaboklab(30.42% -0.0514 0.0331)
OKLCHoklch(30.42% 0.061 147.3)
XYZxyz(1.9290, 2.9982, 1.5754)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17371C #371732
analogous
#223717 #17371C #17372C
triadic
#17371C #1C1737 #371C17
tetradic
#17371C #172237 #371732 #372C17
square
#17371C #172237 #371732 #372C17
split-complementary
#17371C #2C1737 #371722
monochromatic
#09160B #09160B #17371C #296232 #3B8D48

Accessibility & contrast

On white

13.13
#17371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#17371C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17371C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17371C#FFFFFF#000000##FFFFFF
##17371C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38321A
Deuteranopia (green-blind)
#332F1E
Tritanopia (blue-blind)
#113630
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #17371c;
/* rgb */ color: rgb(23, 55, 28);
/* oklch */ color: oklch(30.4% 0.061 147.3);
Tailwind
colors: {
  custom: {
    50: '#576e58',
    500: '#17371c',
    950: '#000000',
  },
}
SCSS
$custom: #17371c;
$custom-light: #576e58;
$custom-dark: #000000;
JSON
{
  "hex": "#17371c",
  "rgb": {
    "r": 23,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 129.375,
    "s": 41.026,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30416,
    "c": 0.06113,
    "h": 147.3
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#17371C
secondary
#6D3D66
accent
#57BED1
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #17371C

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

Preview Lab → · Contrast checker → · Palette generator →

#17371C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva