#17521B#17521B

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

Color values

HEX#17521B
RGBrgb(23, 82, 27)
HSLhsl(124, 56%, 21%)
HSVhsv(124, 72%, 32%)
CMYKcmyk(72%, 0%, 67.1%, 67.8%)
CIE-LABlab(30.15, -31.48, 26.24)
CIE-LCHlch(30.15, 40.98, 140.19°)
OKLaboklab(38.73% -0.0853 0.0615)
OKLCHoklch(38.73% 0.105 144.2)
XYZxyz(3.5683, 6.2955, 2.0638)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521B #52174E
analogous
#305217 #17521B #175238
triadic
#17521B #1B1752 #521B17
tetradic
#17521B #173052 #52174E #523817
square
#17521B #173052 #52174E #523817
split-complementary
#17521B #381752 #521730
monochromatic
#071808 #0A220B #17521B #24822B #32B23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17521B#FFFFFF#000000##FFFFFF
##17521B1.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)
#544A15
Deuteranopia (green-blind)
#4D4520
Tritanopia (blue-blind)
#085046
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521b;
/* rgb */ color: rgb(23, 82, 27);
/* oklch */ color: oklch(38.7% 0.105 144.2);
Tailwind
colors: {
  custom: {
    50: '#5d835a',
    500: '#17521b',
    950: '#000000',
  },
}
SCSS
$custom: #17521b;
$custom-light: #5d835a;
$custom-dark: #000000;
JSON
{
  "hex": "#17521b",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 27
  },
  "hsl": {
    "h": 124.068,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.10513,
    "h": 144.2
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#17521B
secondary
#893C84
accent
#48D5DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17521B

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

Preview Lab → · Contrast checker → · Palette generator →

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