#17521C#17521C

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

Color values

HEX#17521C
RGBrgb(23, 82, 28)
HSLhsl(125, 56%, 21%)
HSVhsv(125, 72%, 32%)
CMYKcmyk(72%, 0%, 65.9%, 67.8%)
CIE-LABlab(30.16, -31.35, 25.73)
CIE-LCHlch(30.16, 40.56, 140.63°)
OKLaboklab(38.75% -0.0849 0.0605)
OKLCHoklch(38.75% 0.104 144.5)
XYZxyz(3.5800, 6.3002, 2.1258)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521C #52174D
analogous
#2F5217 #17521C #175239
triadic
#17521C #1C1752 #521C17
tetradic
#17521C #172F52 #52174D #523917
square
#17521C #172F52 #52174D #523917
split-complementary
#17521C #391752 #52172F
monochromatic
#071808 #0A220C #17521C #24822C #32B23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17521C#FFFFFF#000000##FFFFFF
##17521C1.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)
#544A16
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#075046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521c;
/* rgb */ color: rgb(23, 82, 28);
/* oklch */ color: oklch(38.7% 0.104 144.5);
Tailwind
colors: {
  custom: {
    50: '#5d835a',
    500: '#17521c',
    950: '#000000',
  },
}
SCSS
$custom: #17521c;
$custom-light: #5d835a;
$custom-dark: #000000;
JSON
{
  "hex": "#17521c",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 28
  },
  "hsl": {
    "h": 125.085,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.10421,
    "h": 144.5
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#17521C
secondary
#893C83
accent
#48D3DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17521C

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

Preview Lab → · Contrast checker → · Palette generator →

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