#17521E#17521E

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

Color values

HEX#17521E
RGBrgb(23, 82, 30)
HSLhsl(127, 56%, 21%)
HSVhsv(127, 72%, 32%)
CMYKcmyk(72%, 0%, 63.4%, 67.8%)
CIE-LABlab(30.18, -31.07, 24.69)
CIE-LCHlch(30.18, 39.69, 141.52°)
OKLaboklab(38.78% -0.084 0.0584)
OKLCHoklch(38.78% 0.102 145.2)
XYZxyz(3.6048, 6.3101, 2.2560)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17521E #52174B
analogous
#2D5217 #17521E #17523B
triadic
#17521E #1E1752 #521E17
tetradic
#17521E #172D52 #52174B #523B17
square
#17521E #172D52 #52174B #523B17
split-complementary
#17521E #3B1752 #52172D
monochromatic
#071809 #0A220D #17521E #24822F #32B241

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17521E#FFFFFF#000000##FFFFFF
##17521E1.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)
#534A19
Deuteranopia (green-blind)
#4C4522
Tritanopia (blue-blind)
#065047
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17521e;
/* rgb */ color: rgb(23, 82, 30);
/* oklch */ color: oklch(38.8% 0.102 145.2);
Tailwind
colors: {
  custom: {
    50: '#5d835c',
    500: '#17521e',
    950: '#000000',
  },
}
SCSS
$custom: #17521e;
$custom-light: #5d835c;
$custom-dark: #000000;
JSON
{
  "hex": "#17521e",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 30
  },
  "hsl": {
    "h": 127.119,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.10234,
    "h": 145.2
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#17521E
secondary
#893C80
accent
#48CEDF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17521E

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

Preview Lab → · Contrast checker → · Palette generator →

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