#17481C#17481C

#17481C is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.089 H 145.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#17481C
RGBrgb(23, 72, 28)
HSLhsl(126, 52%, 19%)
HSVhsv(126, 68%, 28%)
CMYKcmyk(68.1%, 0%, 61.1%, 71.8%)
CIE-LABlab(26.45, -27.09, 21.38)
CIE-LCHlch(26.45, 34.51, 141.72°)
OKLaboklab(35.68% -0.0733 0.051)
OKLCHoklch(35.68% 0.089 145.2)
XYZxyz(2.8801, 4.9005, 1.8925)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17481C #481743
analogous
#2A4817 #17481C #174834
triadic
#17481C #1C1748 #481C17
tetradic
#17481C #172A48 #481743 #483417
square
#17481C #172A48 #481743 #483417
split-complementary
#17481C #341748 #48172A
monochromatic
#071709 #081A0A #17481C #26762E #35A540

Accessibility & contrast

On white

10.60
#17481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#17481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17481C
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17481C#FFFFFF#000000##FFFFFF
##17481C1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#433D1F
Tritanopia (blue-blind)
#0C463E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #17481c;
/* rgb */ color: rgb(23, 72, 28);
/* oklch */ color: oklch(35.7% 0.089 145.2);
Tailwind
colors: {
  custom: {
    50: '#5b7b59',
    500: '#17481c',
    950: '#000000',
  },
}
SCSS
$custom: #17481c;
$custom-light: #5b7b59;
$custom-dark: #000000;
JSON
{
  "hex": "#17481c",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 126.122,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.08936,
    "h": 145.2
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#17481C
secondary
#7F3C78
accent
#4DCDDB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #17481C

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

Preview Lab → · Contrast checker → · Palette generator →

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