#17531F#17531F

#17531F is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.103 H 145.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#17531F
RGBrgb(23, 83, 31)
HSLhsl(128, 57%, 21%)
HSVhsv(128, 72%, 33%)
CMYKcmyk(72.3%, 0%, 62.7%, 67.5%)
CIE-LABlab(30.56, -31.34, 24.60)
CIE-LCHlch(30.56, 39.84, 141.87°)
OKLaboklab(39.09% -0.0847 0.0583)
OKLCHoklch(39.09% 0.103 145.5)
XYZxyz(3.6937, 6.4672, 2.3497)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17531F #53174B
analogous
#2D5317 #17531F #17533D
triadic
#17531F #1F1753 #531F17
tetradic
#17531F #172D53 #53174B #533D17
square
#17531F #172D53 #53174B #533D17
split-complementary
#17531F #3D1753 #53172D
monochromatic
#071809 #0A230D #17531F #248331 #32B343

Accessibility & contrast

On white

9.16
#17531F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17531F
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17531F#FFFFFF#000000##FFFFFF
##17531F1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1A
Deuteranopia (green-blind)
#4D4623
Tritanopia (blue-blind)
#055148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #17531f;
/* rgb */ color: rgb(23, 83, 31);
/* oklch */ color: oklch(39.1% 0.103 145.5);
Tailwind
colors: {
  custom: {
    50: '#5d845c',
    500: '#17531f',
    950: '#000000',
  },
}
SCSS
$custom: #17531f;
$custom-light: #5d845c;
$custom-dark: #000000;
JSON
{
  "hex": "#17531f",
  "rgb": {
    "r": 23,
    "g": 83,
    "b": 31
  },
  "hsl": {
    "h": 128,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39093,
    "c": 0.10284,
    "h": 145.5
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#17531F
secondary
#8A3C80
accent
#48CCE0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17531F

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

Preview Lab → · Contrast checker → · Palette generator →

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