#17401B#17401B

#17401B is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.2% C 0.078 H 145.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#17401B
RGBrgb(23, 64, 27)
HSLhsl(126, 47%, 17%)
HSVhsv(126, 64%, 25%)
CMYKcmyk(64.1%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.43, -23.59, 18.30)
CIE-LCHlch(23.43, 29.86, 142.20°)
OKLaboklab(33.2% -0.064 0.0442)
OKLCHoklch(33.2% 0.078 145.4)
XYZxyz(2.3844, 3.9279, 1.6692)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17401B #40173C
analogous
#284017 #17401B #174030
triadic
#17401B #1B1740 #401B17
tetradic
#17401B #172840 #40173C #403017
square
#17401B #172840 #40173C #403017
split-complementary
#17401B #301740 #401728
monochromatic
#081709 #081709 #17401B #276D2E #379A41

Accessibility & contrast

On white

11.76
#17401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#17401B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17401B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17401B#FFFFFF#000000##FFFFFF
##17401B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#3C361E
Tritanopia (blue-blind)
#0F3E37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #17401b;
/* rgb */ color: rgb(23, 64, 27);
/* oklch */ color: oklch(33.2% 0.078 145.4);
Tailwind
colors: {
  custom: {
    50: '#597558',
    500: '#17401b',
    950: '#000000',
  },
}
SCSS
$custom: #17401b;
$custom-light: #597558;
$custom-dark: #000000;
JSON
{
  "hex": "#17401b",
  "rgb": {
    "r": 23,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 125.854,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.07771,
    "h": 145.4
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#17401B
secondary
#773C71
accent
#51CAD7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#040803
muted
#797B78

Preview Lab

Preview with #17401B

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

Preview Lab → · Contrast checker → · Palette generator →

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