#17521D#17521D

#17521D is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.103 H 144.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#17521D
RGBrgb(23, 82, 29)
HSLhsl(126, 56%, 21%)
HSVhsv(126, 72%, 32%)
CMYKcmyk(72%, 0%, 64.6%, 67.8%)
CIE-LABlab(30.17, -31.21, 25.21)
CIE-LCHlch(30.17, 40.12, 141.07°)
OKLaboklab(38.76% -0.0844 0.0595)
OKLCHoklch(38.76% 0.103 144.8)
XYZxyz(3.5922, 6.3051, 2.1899)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521D #52174C
analogous
#2E5217 #17521D #17523A
triadic
#17521D #1D1752 #521D17
tetradic
#17521D #172E52 #52174C #523A17
square
#17521D #172E52 #52174C #523A17
split-complementary
#17521D #3A1752 #52172E
monochromatic
#071808 #0A220C #17521D #24822E #32B23F

Accessibility & contrast

On white

9.29
#17521D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#17521D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17521D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17521D#FFFFFF#000000##FFFFFF
##17521D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A17
Deuteranopia (green-blind)
#4C4521
Tritanopia (blue-blind)
#075046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521d;
/* rgb */ color: rgb(23, 82, 29);
/* oklch */ color: oklch(38.8% 0.103 144.8);
Tailwind
colors: {
  custom: {
    50: '#5d835b',
    500: '#17521d',
    950: '#000000',
  },
}
SCSS
$custom: #17521d;
$custom-light: #5d835b;
$custom-dark: #000000;
JSON
{
  "hex": "#17521d",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 29
  },
  "hsl": {
    "h": 126.102,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.10329,
    "h": 144.8
  },
  "luminance": 0.06305
}

Semantic roles & 50–950 ramp

primary
#17521D
secondary
#893C81
accent
#48D0DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17521D

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

Preview Lab → · Contrast checker → · Palette generator →

#17521D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva