#17512A#17512A

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

Color values

HEX#17512A
RGBrgb(23, 81, 42)
HSLhsl(140, 56%, 20%)
HSVhsv(140, 72%, 32%)
CMYKcmyk(71.6%, 0%, 48.1%, 68.2%)
CIE-LABlab(29.99, -28.59, 17.60)
CIE-LCHlch(29.99, 33.57, 148.39°)
OKLaboklab(38.68% -0.0771 0.0433)
OKLCHoklch(38.68% 0.088 150.7)
XYZxyz(3.7134, 6.2338, 3.1976)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17512A #51173E
analogous
#215117 #17512A #175147
triadic
#17512A #2A1751 #512A17
tetradic
#17512A #172151 #51173E #514717
square
#17512A #172151 #51173E #514717
split-complementary
#17512A #471751 #511721
monochromatic
#07180C #092111 #17512A #258143 #32B05B

Accessibility & contrast

On white

9.35
#17512A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17512A
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17512A#FFFFFF#000000##FFFFFF
##17512A1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514A27
Deuteranopia (green-blind)
#4A452D
Tritanopia (blue-blind)
#015048
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #17512a;
/* rgb */ color: rgb(23, 81, 42);
/* oklch */ color: oklch(38.7% 0.088 150.7);
Tailwind
colors: {
  custom: {
    50: '#5c8264',
    500: '#17512a',
    950: '#000000',
  },
}
SCSS
$custom: #17512a;
$custom-light: #5c8264;
$custom-dark: #000000;
JSON
{
  "hex": "#17512a",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 42
  },
  "hsl": {
    "h": 139.655,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.08848,
    "h": 150.7
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#17512A
secondary
#883C6F
accent
#49AEDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #17512A

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

Preview Lab → · Contrast checker → · Palette generator →

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