#17511B#17511B

#17511B is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.104 H 144.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#17511B
RGBrgb(23, 81, 27)
HSLhsl(124, 56%, 20%)
HSVhsv(124, 72%, 32%)
CMYKcmyk(71.6%, 0%, 66.7%, 68.2%)
CIE-LABlab(29.78, -31.07, 25.82)
CIE-LCHlch(29.78, 40.40, 140.28°)
OKLaboklab(38.43% -0.0842 0.0606)
OKLCHoklch(38.43% 0.104 144.3)
XYZxyz(3.4934, 6.1458, 2.0389)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17511B #51174D
analogous
#305117 #17511B #175138
triadic
#17511B #1B1751 #511B17
tetradic
#17511B #173051 #51174D #513817
square
#17511B #173051 #51174D #513817
split-complementary
#17511B #381751 #511730
monochromatic
#071808 #09210B #17511B #25812B #32B03B

Accessibility & contrast

On white

9.42
#17511B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17511B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17511B#FFFFFF#000000##FFFFFF
##17511B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534915
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#084F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17511b;
/* rgb */ color: rgb(23, 81, 27);
/* oklch */ color: oklch(38.4% 0.104 144.3);
Tailwind
colors: {
  custom: {
    50: '#5d8259',
    500: '#17511b',
    950: '#000000',
  },
}
SCSS
$custom: #17511b;
$custom-light: #5d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#17511b",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 27
  },
  "hsl": {
    "h": 124.138,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.10369,
    "h": 144.3
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#17511B
secondary
#883C83
accent
#49D5DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #17511B

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

Preview Lab → · Contrast checker → · Palette generator →

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