#17271E#17271E

#17271E is a dark, muted green. Relative luminance 0.017; OKLCH L 25.5% C 0.028 H 159.0°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#17271E
RGBrgb(23, 39, 30)
HSLhsl(146, 26%, 12%)
HSVhsv(146, 41%, 15%)
CMYKcmyk(41%, 0%, 23.1%, 84.7%)
CIE-LABlab(13.98, -9.26, 3.83)
CIE-LCHlch(13.98, 10.03, 157.52°)
OKLaboklab(25.51% -0.0257 0.0099)
OKLCHoklch(25.51% 0.028 159)
XYZxyz(1.3131, 1.7269, 1.4922)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17271E #271720
analogous
#182717 #17271E #172726
triadic
#17271E #1E1727 #271E17
tetradic
#17271E #171827 #271720 #272617
square
#17271E #171827 #271720 #272617
split-complementary
#17271E #261727 #271718
monochromatic
#0B130F #0B130F #17271E #2E4D3C #447459

Accessibility & contrast

On white

15.61
#17271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#17271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17271E
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17271E#FFFFFF#000000##FFFFFF
##17271E1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#24231F
Tritanopia (blue-blind)
#142724
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #17271e;
/* rgb */ color: rgb(23, 39, 30);
/* oklch */ color: oklch(25.5% 0.028 159.0);
Tailwind
colors: {
  custom: {
    50: '#546159',
    500: '#17271e',
    950: '#000000',
  },
}
SCSS
$custom: #17271e;
$custom-light: #546159;
$custom-dark: #000000;
JSON
{
  "hex": "#17271e",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 146.25,
    "s": 25.806,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25514,
    "c": 0.02758,
    "h": 159
  },
  "luminance": 0.01727
}

Semantic roles & 50–950 ramp

primary
#17271E
secondary
#5B3F4F
accent
#669AC2
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#030503
muted
#787978

Preview Lab

Preview with #17271E

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

Preview Lab → · Contrast checker → · Palette generator →

#17271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva