#17521A#17521A

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

Color values

HEX#17521A
RGBrgb(23, 82, 26)
HSLhsl(123, 56%, 21%)
HSVhsv(123, 72%, 32%)
CMYKcmyk(72%, 0%, 68.3%, 67.8%)
CIE-LABlab(30.14, -31.62, 26.74)
CIE-LCHlch(30.14, 41.41, 139.78°)
OKLaboklab(38.72% -0.0857 0.0624)
OKLCHoklch(38.72% 0.106 143.9)
XYZxyz(3.5569, 6.2910, 2.0039)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521A #52174F
analogous
#315217 #17521A #175237
triadic
#17521A #1A1752 #521A17
tetradic
#17521A #173152 #52174F #523717
square
#17521A #173152 #52174F #523717
split-complementary
#17521A #371752 #521731
monochromatic
#071808 #0A220B #17521A #248229 #32B238

Accessibility & contrast

On white

9.30
#17521A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17521A
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17521A#FFFFFF#000000##FFFFFF
##17521A1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A14
Deuteranopia (green-blind)
#4D451F
Tritanopia (blue-blind)
#085046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521a;
/* rgb */ color: rgb(23, 82, 26);
/* oklch */ color: oklch(38.7% 0.106 143.9);
Tailwind
colors: {
  custom: {
    50: '#5d8359',
    500: '#17521a',
    950: '#000000',
  },
}
SCSS
$custom: #17521a;
$custom-light: #5d8359;
$custom-dark: #000000;
JSON
{
  "hex": "#17521a",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 26
  },
  "hsl": {
    "h": 123.051,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38721,
    "c": 0.10602,
    "h": 143.9
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#17521A
secondary
#893C85
accent
#48D8DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #17521A

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

Preview Lab → · Contrast checker → · Palette generator →

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