#17512B#17512B

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

Color values

HEX#17512B
RGBrgb(23, 81, 43)
HSLhsl(141, 56%, 20%)
HSVhsv(141, 72%, 32%)
CMYKcmyk(71.6%, 0%, 46.9%, 68.2%)
CIE-LABlab(30.01, -28.39, 17.02)
CIE-LCHlch(30.01, 33.10, 149.06°)
OKLaboklab(38.7% -0.0766 0.042)
OKLCHoklch(38.7% 0.087 151.3)
XYZxyz(3.7315, 6.2410, 3.2930)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17512B #51173D
analogous
#205117 #17512B #175148
triadic
#17512B #2B1751 #512B17
tetradic
#17512B #172051 #51173D #514817
square
#17512B #172051 #51173D #514817
split-complementary
#17512B #481751 #511720
monochromatic
#07180D #092112 #17512B #258144 #32B05E

Accessibility & contrast

On white

9.34
#17512B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17512B
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17512B#FFFFFF#000000##FFFFFF
##17512B1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17512b;
/* rgb */ color: rgb(23, 81, 43);
/* oklch */ color: oklch(38.7% 0.087 151.3);
Tailwind
colors: {
  custom: {
    50: '#5c8265',
    500: '#17512b',
    950: '#000000',
  },
}
SCSS
$custom: #17512b;
$custom-light: #5c8265;
$custom-dark: #000000;
JSON
{
  "hex": "#17512b",
  "rgb": {
    "r": 23,
    "g": 81,
    "b": 43
  },
  "hsl": {
    "h": 140.69,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38699,
    "c": 0.08739,
    "h": 151.3
  },
  "luminance": 0.06241
}

Semantic roles & 50–950 ramp

primary
#17512B
secondary
#883C6E
accent
#49ABDF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #17512B

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

Preview Lab → · Contrast checker → · Palette generator →

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