#17511F#17511F

#17511F is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.5% C 0.100 H 145.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#17511F
RGBrgb(23, 81, 31)
HSLhsl(128, 56%, 20%)
HSVhsv(128, 72%, 32%)
CMYKcmyk(71.6%, 0%, 61.7%, 68.2%)
CIE-LABlab(29.83, -30.50, 23.73)
CIE-LCHlch(29.83, 38.65, 142.12°)
OKLaboklab(38.49% -0.0824 0.0564)
OKLCHoklch(38.49% 0.1 145.6)
XYZxyz(3.5429, 6.1656, 2.2994)
Luminance0.0617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17511F #511749
analogous
#2C5117 #17511F #17513C
triadic
#17511F #1F1751 #511F17
tetradic
#17511F #172C51 #511749 #513C17
square
#17511F #172C51 #511749 #513C17
split-complementary
#17511F #3C1751 #51172C
monochromatic
#071809 #09210D #17511F #258131 #32B043

Accessibility & contrast

On white

9.40
#17511F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#17511F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17511F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17511F#FFFFFF#000000##FFFFFF
##17511F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#074F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17511f;
/* rgb */ color: rgb(23, 81, 31);
/* oklch */ color: oklch(38.5% 0.100 145.6);
Tailwind
colors: {
  custom: {
    50: '#5d825c',
    500: '#17511f',
    950: '#000000',
  },
}
SCSS
$custom: #17511f;
$custom-light: #5d825c;
$custom-dark: #000000;
JSON
{
  "hex": "#17511f",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 128.276,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38485,
    "c": 0.09991,
    "h": 145.6
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#17511F
secondary
#883C7E
accent
#49CADF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #17511F

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

Preview Lab → · Contrast checker → · Palette generator →

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