#17512C#17512C

#17512C is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.086 H 151.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#17512C
RGBrgb(23, 81, 44)
HSLhsl(142, 56%, 20%)
HSVhsv(142, 72%, 32%)
CMYKcmyk(71.6%, 0%, 45.7%, 68.2%)
CIE-LABlab(30.03, -28.19, 16.44)
CIE-LCHlch(30.03, 32.64, 149.75°)
OKLaboklab(38.72% -0.0761 0.0407)
OKLCHoklch(38.72% 0.086 151.9)
XYZxyz(3.7501, 6.2485, 3.3908)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17512C #51173C
analogous
#1F5117 #17512C #175149
triadic
#17512C #2C1751 #512C17
tetradic
#17512C #171F51 #51173C #514917
square
#17512C #171F51 #51173C #514917
split-complementary
#17512C #491751 #51171F
monochromatic
#07180D #092112 #17512C #258146 #32B060

Accessibility & contrast

On white

9.33
#17512C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#17512C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17512C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17512C#FFFFFF#000000##FFFFFF
##17512C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A29
Deuteranopia (green-blind)
#4A452E
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17512c;
/* rgb */ color: rgb(23, 81, 44);
/* oklch */ color: oklch(38.7% 0.086 151.9);
Tailwind
colors: {
  custom: {
    50: '#5c8265',
    500: '#17512c',
    950: '#000000',
  },
}
SCSS
$custom: #17512c;
$custom-light: #5c8265;
$custom-dark: #000000;
JSON
{
  "hex": "#17512c",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 44
  },
  "hsl": {
    "h": 141.724,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.0863,
    "h": 151.9
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#17512C
secondary
#883C6C
accent
#49A9DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #17512C

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

Preview Lab → · Contrast checker → · Palette generator →

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