#17541F#17541F

#17541F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.104 H 145.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#17541F
RGBrgb(23, 84, 31)
HSLhsl(128, 57%, 21%)
HSVhsv(128, 73%, 33%)
CMYKcmyk(72.6%, 0%, 63.1%, 67.1%)
CIE-LABlab(30.93, -31.75, 25.03)
CIE-LCHlch(30.93, 40.43, 141.75°)
OKLaboklab(39.4% -0.0858 0.0593)
OKLCHoklch(39.4% 0.104 145.4)
XYZxyz(3.7707, 6.6213, 2.3754)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17541F #54174C
analogous
#2D5417 #17541F #17543D
triadic
#17541F #1F1754 #541F17
tetradic
#17541F #172D54 #54174C #543D17
square
#17541F #172D54 #54174C #543D17
split-complementary
#17541F #3D1754 #54172D
monochromatic
#071809 #0A240D #17541F #248431 #31B442

Accessibility & contrast

On white

9.03
#17541F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#17541F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17541F
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17541F#FFFFFF#000000##FFFFFF
##17541F1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554C1A
Deuteranopia (green-blind)
#4E4723
Tritanopia (blue-blind)
#055248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17541f;
/* rgb */ color: rgb(23, 84, 31);
/* oklch */ color: oklch(39.4% 0.104 145.4);
Tailwind
colors: {
  custom: {
    50: '#5d855c',
    500: '#17541f',
    950: '#000000',
  },
}
SCSS
$custom: #17541f;
$custom-light: #5d855c;
$custom-dark: #000000;
JSON
{
  "hex": "#17541f",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 127.869,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39396,
    "c": 0.10429,
    "h": 145.4
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#17541F
secondary
#8B3C81
accent
#48CCE0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17541F

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

Preview Lab → · Contrast checker → · Palette generator →

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