#17521F#17521F

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

Color values

HEX#17521F
RGBrgb(23, 82, 31)
HSLhsl(128, 56%, 21%)
HSVhsv(128, 72%, 32%)
CMYKcmyk(72%, 0%, 62.2%, 67.8%)
CIE-LABlab(30.19, -30.92, 24.16)
CIE-LCHlch(30.19, 39.24, 142.00°)
OKLaboklab(38.79% -0.0836 0.0574)
OKLCHoklch(38.79% 0.101 145.5)
XYZxyz(3.6177, 6.3153, 2.3244)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521F #52174A
analogous
#2C5217 #17521F #17523C
triadic
#17521F #1F1752 #521F17
tetradic
#17521F #172C52 #52174A #523C17
square
#17521F #172C52 #52174A #523C17
split-complementary
#17521F #3C1752 #52172C
monochromatic
#071809 #0A220D #17521F #248231 #32B243

Accessibility & contrast

On white

9.28
#17521F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17521F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17521F#FFFFFF#000000##FFFFFF
##17521F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1A
Deuteranopia (green-blind)
#4C4523
Tritanopia (blue-blind)
#065047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521f;
/* rgb */ color: rgb(23, 82, 31);
/* oklch */ color: oklch(38.8% 0.101 145.5);
Tailwind
colors: {
  custom: {
    50: '#5d835c',
    500: '#17521f',
    950: '#000000',
  },
}
SCSS
$custom: #17521f;
$custom-light: #5d835c;
$custom-dark: #000000;
JSON
{
  "hex": "#17521f",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 31
  },
  "hsl": {
    "h": 128.136,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38789,
    "c": 0.10138,
    "h": 145.5
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#17521F
secondary
#893C7F
accent
#48CBDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17521F

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

Preview Lab → · Contrast checker → · Palette generator →

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