#17522B#17522B

#17522B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.089 H 151.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#17522B
RGBrgb(23, 82, 43)
HSLhsl(140, 56%, 21%)
HSVhsv(140, 72%, 32%)
CMYKcmyk(72%, 0%, 47.6%, 67.8%)
CIE-LABlab(30.38, -28.84, 17.49)
CIE-LCHlch(30.38, 33.73, 148.76°)
OKLaboklab(39% -0.0778 0.0431)
OKLCHoklch(39% 0.089 151)
XYZxyz(3.8064, 6.3908, 3.3180)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17522B #52173E
analogous
#205217 #17522B #175248
triadic
#17522B #2B1752 #522B17
tetradic
#17522B #172052 #52173E #524817
square
#17522B #172052 #52173E #524817
split-complementary
#17522B #481752 #521720
monochromatic
#07180D #0A2212 #17522B #248244 #32B25D

Accessibility & contrast

On white

9.22
#17522B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#17522B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17522B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17522B#FFFFFF#000000##FFFFFF
##17522B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B28
Deuteranopia (green-blind)
#4B452E
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #17522b;
/* rgb */ color: rgb(23, 82, 43);
/* oklch */ color: oklch(39.0% 0.089 151.0);
Tailwind
colors: {
  custom: {
    50: '#5c8365',
    500: '#17522b',
    950: '#000000',
  },
}
SCSS
$custom: #17522b;
$custom-light: #5c8365;
$custom-dark: #000000;
JSON
{
  "hex": "#17522b",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 43
  },
  "hsl": {
    "h": 140.339,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39,
    "c": 0.08895,
    "h": 151
  },
  "luminance": 0.06391
}

Semantic roles & 50–950 ramp

primary
#17522B
secondary
#893C6F
accent
#48ACDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #17522B

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

Preview Lab → · Contrast checker → · Palette generator →

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