#17522A#17522A

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

Color values

HEX#17522A
RGBrgb(23, 82, 42)
HSLhsl(139, 56%, 21%)
HSVhsv(139, 72%, 32%)
CMYKcmyk(72%, 0%, 48.8%, 67.8%)
CIE-LABlab(30.36, -29.03, 18.07)
CIE-LCHlch(30.36, 34.20, 148.11°)
OKLaboklab(38.98% -0.0783 0.0444)
OKLCHoklch(38.98% 0.09 150.4)
XYZxyz(3.7883, 6.3835, 3.2225)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17522A #52173F
analogous
#215217 #17522A #175247
triadic
#17522A #2A1752 #522A17
tetradic
#17522A #172152 #52173F #524717
square
#17522A #172152 #52173F #524717
split-complementary
#17522A #471752 #521721
monochromatic
#07180C #0A2212 #17522A #248242 #32B25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17522A#FFFFFF#000000##FFFFFF
##17522A1.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)
#524B27
Deuteranopia (green-blind)
#4B452D
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17522a;
/* rgb */ color: rgb(23, 82, 42);
/* oklch */ color: oklch(39.0% 0.090 150.4);
Tailwind
colors: {
  custom: {
    50: '#5d8364',
    500: '#17522a',
    950: '#000000',
  },
}
SCSS
$custom: #17522a;
$custom-light: #5d8364;
$custom-dark: #000000;
JSON
{
  "hex": "#17522a",
  "rgb": {
    "r": 23,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 139.322,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3898,
    "c": 0.09003,
    "h": 150.4
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#17522A
secondary
#893C70
accent
#48AFDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #17522A

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

Preview Lab → · Contrast checker → · Palette generator →

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