#17210B#17210B

#17210B is a very dark, muted yellow-green. Relative luminance 0.013; OKLCH L 23.2% C 0.041 H 129.3°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#17210B
RGBrgb(23, 33, 11)
HSLhsl(87, 50%, 9%)
HSVhsv(87, 67%, 13%)
CMYKcmyk(30.3%, 0%, 66.7%, 87.1%)
CIE-LABlab(11.23, -9.40, 11.99)
CIE-LCHlch(11.23, 15.23, 128.08°)
OKLaboklab(23.15% -0.0261 0.0319)
OKLCHoklch(23.15% 0.041 129.3)
XYZxyz(0.9576, 1.2940, 0.5159)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17210B #150B21
analogous
#21200B #17210B #0C210B
triadic
#17210B #0B1721 #210B17
tetradic
#17210B #0B2120 #150B21 #210B0C
square
#17210B #0B2120 #150B21 #210B0C
split-complementary
#17210B #0B0C21 #200B21
monochromatic
#101708 #101708 #17210B #374F1A #577D2A

Accessibility & contrast

On white

16.68
#17210B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#17210B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17210B
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17210B#FFFFFF#000000##FFFFFF
##17210B1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E09
Deuteranopia (green-blind)
#211E0C
Tritanopia (blue-blind)
#181F1C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #17210b;
/* rgb */ color: rgb(23, 33, 11);
/* oklch */ color: oklch(23.2% 0.041 129.3);
Tailwind
colors: {
  custom: {
    50: '#545c4b',
    500: '#17210b',
    950: '#000000',
  },
}
SCSS
$custom: #17210b;
$custom-light: #545c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#17210b",
  "rgb": {
    "r": 23,
    "g": 33,
    "b": 11
  },
  "hsl": {
    "h": 87.273,
    "s": 50,
    "l": 8.627
  },
  "oklch": {
    "l": 0.23153,
    "c": 0.04126,
    "h": 129.3
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#17210B
secondary
#422C5C
accent
#4EDA8E
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #17210B

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

Preview Lab → · Contrast checker → · Palette generator →

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