#17511C#17511C

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

Color values

HEX#17511C
RGBrgb(23, 81, 28)
HSLhsl(125, 56%, 20%)
HSVhsv(125, 72%, 32%)
CMYKcmyk(71.6%, 0%, 65.4%, 68.2%)
CIE-LABlab(29.79, -30.94, 25.30)
CIE-LCHlch(29.79, 39.97, 140.72°)
OKLaboklab(38.44% -0.0838 0.0596)
OKLCHoklch(38.44% 0.103 144.6)
XYZxyz(3.5052, 6.1505, 2.1008)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17511C #51174C
analogous
#2F5117 #17511C #175139
triadic
#17511C #1C1751 #511C17
tetradic
#17511C #172F51 #51174C #513917
square
#17511C #172F51 #51174C #513917
split-complementary
#17511C #391751 #51172F
monochromatic
#071808 #09210C #17511C #25812C #32B03D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17511C#FFFFFF#000000##FFFFFF
##17511C1.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)
#534916
Deuteranopia (green-blind)
#4C4420
Tritanopia (blue-blind)
#084F46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17511c;
/* rgb */ color: rgb(23, 81, 28);
/* oklch */ color: oklch(38.4% 0.103 144.6);
Tailwind
colors: {
  custom: {
    50: '#5d825a',
    500: '#17511c',
    950: '#000000',
  },
}
SCSS
$custom: #17511c;
$custom-light: #5d825a;
$custom-dark: #000000;
JSON
{
  "hex": "#17511c",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 125.172,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.10278,
    "h": 144.6
  },
  "luminance": 0.06151
}

Semantic roles & 50–950 ramp

primary
#17511C
secondary
#883C82
accent
#49D2DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #17511C

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

Preview Lab → · Contrast checker → · Palette generator →

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