#17511A#17511A

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

Color values

HEX#17511A
RGBrgb(23, 81, 26)
HSLhsl(123, 56%, 20%)
HSVhsv(123, 72%, 32%)
CMYKcmyk(71.6%, 0%, 67.9%, 68.2%)
CIE-LABlab(29.77, -31.21, 26.32)
CIE-LCHlch(29.77, 40.83, 139.85°)
OKLaboklab(38.42% -0.0846 0.0615)
OKLCHoklch(38.42% 0.105 144)
XYZxyz(3.4820, 6.1412, 1.9790)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17511A #51174E
analogous
#315117 #17511A #175137
triadic
#17511A #1A1751 #511A17
tetradic
#17511A #173151 #51174E #513717
square
#17511A #173151 #51174E #513717
split-complementary
#17511A #371751 #511731
monochromatic
#071808 #09210B #17511A #258129 #32B039

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17511A#FFFFFF#000000##FFFFFF
##17511A1.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)
#534914
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#094F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17511a;
/* rgb */ color: rgb(23, 81, 26);
/* oklch */ color: oklch(38.4% 0.105 144.0);
Tailwind
colors: {
  custom: {
    50: '#5d8259',
    500: '#17511a',
    950: '#000000',
  },
}
SCSS
$custom: #17511a;
$custom-light: #5d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#17511a",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 123.103,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.1046,
    "h": 144
  },
  "luminance": 0.06142
}

Semantic roles & 50–950 ramp

primary
#17511A
secondary
#883C84
accent
#49D7DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #17511A

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

Preview Lab → · Contrast checker → · Palette generator →

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