#17481F#17481F

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

Color values

HEX#17481F
RGBrgb(23, 72, 31)
HSLhsl(130, 52%, 19%)
HSVhsv(130, 68%, 28%)
CMYKcmyk(68.1%, 0%, 56.9%, 71.8%)
CIE-LABlab(26.49, -26.60, 19.70)
CIE-LCHlch(26.49, 33.10, 143.47°)
OKLaboklab(35.73% -0.0719 0.0476)
OKLCHoklch(35.73% 0.086 146.5)
XYZxyz(2.9178, 4.9155, 2.0911)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17481F #481740
analogous
#274817 #17481F #174837
triadic
#17481F #1F1748 #481F17
tetradic
#17481F #172748 #481740 #483717
square
#17481F #172748 #481740 #483717
split-complementary
#17481F #371748 #481727
monochromatic
#07170A #081A0B #17481F #267633 #35A547

Accessibility & contrast

On white

10.59
#17481F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17481F
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17481F#FFFFFF#000000##FFFFFF
##17481F1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411B
Deuteranopia (green-blind)
#433D22
Tritanopia (blue-blind)
#0B463F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #17481f;
/* rgb */ color: rgb(23, 72, 31);
/* oklch */ color: oklch(35.7% 0.086 146.5);
Tailwind
colors: {
  custom: {
    50: '#5a7b5b',
    500: '#17481f',
    950: '#000000',
  },
}
SCSS
$custom: #17481f;
$custom-light: #5a7b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#17481f",
  "rgb": {
    "r": 23,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 129.796,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35734,
    "c": 0.08622,
    "h": 146.5
  },
  "luminance": 0.04916
}

Semantic roles & 50–950 ramp

primary
#17481F
secondary
#7F3C74
accent
#4DC4DB
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #17481F

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

Preview Lab → · Contrast checker → · Palette generator →

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