#17381B#17381B

#17381B is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.064 H 146.3°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#17381B
RGBrgb(23, 56, 27)
HSLhsl(127, 42%, 15%)
HSVhsv(127, 59%, 22%)
CMYKcmyk(58.9%, 0%, 51.8%, 78%)
CIE-LABlab(20.40, -19.66, 14.50)
CIE-LCHlch(20.40, 24.43, 143.59°)
OKLaboklab(30.71% -0.0533 0.0356)
OKLCHoklch(30.71% 0.064 146.3)
XYZxyz(1.9652, 3.0895, 1.5295)
Luminance0.0309 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17381B #381734
analogous
#233817 #17381B #17382B
triadic
#17381B #1B1738 #381B17
tetradic
#17381B #172338 #381734 #382B17
square
#17381B #172338 #381734 #382B17
split-complementary
#17381B #2B1738 #381723
monochromatic
#09160A #09160A #17381B #296330 #3B8F45

Accessibility & contrast

On white

12.98
#17381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#17381B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17381B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17381B#FFFFFF#000000##FFFFFF
##17381B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393319
Deuteranopia (green-blind)
#34301D
Tritanopia (blue-blind)
#113731
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #17381b;
/* rgb */ color: rgb(23, 56, 27);
/* oklch */ color: oklch(30.7% 0.064 146.3);
Tailwind
colors: {
  custom: {
    50: '#576f57',
    500: '#17381b',
    950: '#000000',
  },
}
SCSS
$custom: #17381b;
$custom-light: #576f57;
$custom-dark: #000000;
JSON
{
  "hex": "#17381b",
  "rgb": {
    "r": 23,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 127.273,
    "s": 41.772,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30706,
    "c": 0.06411,
    "h": 146.3
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#17381B
secondary
#6E3C68
accent
#56C3D2
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#030703
muted
#787A78

Preview Lab

Preview with #17381B

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

Preview Lab → · Contrast checker → · Palette generator →

#17381B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva