#17541C#17541C

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

Color values

HEX#17541C
RGBrgb(23, 84, 28)
HSLhsl(125, 57%, 21%)
HSVhsv(125, 73%, 33%)
CMYKcmyk(72.6%, 0%, 66.7%, 67.1%)
CIE-LABlab(30.89, -32.17, 26.57)
CIE-LCHlch(30.89, 41.72, 140.44°)
OKLaboklab(39.36% -0.0871 0.0623)
OKLCHoklch(39.36% 0.107 144.4)
XYZxyz(3.7330, 6.6063, 2.1768)
Luminance0.0661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17541C #54174F
analogous
#305417 #17541C #17543A
triadic
#17541C #1C1754 #541C17
tetradic
#17541C #173054 #54174F #543A17
square
#17541C #173054 #54174F #543A17
split-complementary
#17541C #3A1754 #541730
monochromatic
#071808 #0A240C #17541C #24842C #31B43C

Accessibility & contrast

On white

9.05
#17541C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17541C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17541C#FFFFFF#000000##FFFFFF
##17541C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C16
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#065248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17541c;
/* rgb */ color: rgb(23, 84, 28);
/* oklch */ color: oklch(39.4% 0.107 144.4);
Tailwind
colors: {
  custom: {
    50: '#5e855a',
    500: '#17541c',
    950: '#000000',
  },
}
SCSS
$custom: #17541c;
$custom-light: #5e855a;
$custom-dark: #000000;
JSON
{
  "hex": "#17541c",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 124.918,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39355,
    "c": 0.10706,
    "h": 144.4
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#17541C
secondary
#8B3C85
accent
#48D4E0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17541C

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

Preview Lab → · Contrast checker → · Palette generator →

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