#17531B#17531B

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

Color values

HEX#17531B
RGBrgb(23, 83, 27)
HSLhsl(124, 57%, 21%)
HSVhsv(124, 72%, 33%)
CMYKcmyk(72.3%, 0%, 67.5%, 67.5%)
CIE-LABlab(30.51, -31.89, 26.65)
CIE-LCHlch(30.51, 41.56, 140.11°)
OKLaboklab(39.04% -0.0864 0.0624)
OKLCHoklch(39.04% 0.107 144.2)
XYZxyz(3.6442, 6.4474, 2.0891)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17531B #53174F
analogous
#315317 #17531B #175339
triadic
#17531B #1B1753 #531B17
tetradic
#17531B #173153 #53174F #533917
square
#17531B #173153 #53174F #533917
split-complementary
#17531B #391753 #531731
monochromatic
#071808 #0A230B #17531B #24832B #32B33A

Accessibility & contrast

On white

9.17
#17531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#17531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17531B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17531B#FFFFFF#000000##FFFFFF
##17531B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#4D4620
Tritanopia (blue-blind)
#075147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #17531b;
/* rgb */ color: rgb(23, 83, 27);
/* oklch */ color: oklch(39.0% 0.107 144.2);
Tailwind
colors: {
  custom: {
    50: '#5d845a',
    500: '#17531b',
    950: '#000000',
  },
}
SCSS
$custom: #17531b;
$custom-light: #5d845a;
$custom-dark: #000000;
JSON
{
  "hex": "#17531b",
  "rgb": {
    "r": 23,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 124,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.10655,
    "h": 144.2
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#17531B
secondary
#8A3C85
accent
#48D6E0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17531B

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

Preview Lab → · Contrast checker → · Palette generator →

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