#17541B#17541B

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

Color values

HEX#17541B
RGBrgb(23, 84, 27)
HSLhsl(124, 57%, 21%)
HSVhsv(124, 73%, 33%)
CMYKcmyk(72.6%, 0%, 67.9%, 67.1%)
CIE-LABlab(30.88, -32.30, 27.07)
CIE-LCHlch(30.88, 42.14, 140.03°)
OKLaboklab(39.34% -0.0875 0.0632)
OKLCHoklch(39.34% 0.108 144.1)
XYZxyz(3.7213, 6.6015, 2.1148)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17541B #541750
analogous
#315417 #17541B #175439
triadic
#17541B #1B1754 #541B17
tetradic
#17541B #173154 #541750 #543917
square
#17541B #173154 #541750 #543917
split-complementary
#17541B #391754 #541731
monochromatic
#071808 #0A240C #17541B #24842A #31B43A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17541B#FFFFFF#000000##FFFFFF
##17541B1.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)
#564C14
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#075248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #17541b;
/* rgb */ color: rgb(23, 84, 27);
/* oklch */ color: oklch(39.3% 0.108 144.1);
Tailwind
colors: {
  custom: {
    50: '#5e855a',
    500: '#17541b',
    950: '#000000',
  },
}
SCSS
$custom: #17541b;
$custom-light: #5e855a;
$custom-dark: #000000;
JSON
{
  "hex": "#17541b",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 123.934,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39342,
    "c": 0.10795,
    "h": 144.1
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#17541B
secondary
#8B3C86
accent
#48D6E0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #17541B

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

Preview Lab → · Contrast checker → · Palette generator →

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