#17540F#17540F

#17540F is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.2% C 0.117 H 141.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#17540F
RGBrgb(23, 84, 15)
HSLhsl(113, 70%, 19%)
HSVhsv(113, 82%, 33%)
CMYKcmyk(72.6%, 0%, 82.1%, 67.1%)
CIE-LABlab(30.78, -33.55, 32.42)
CIE-LCHlch(30.78, 46.66, 135.99°)
OKLaboklab(39.22% -0.0916 0.0729)
OKLCHoklch(39.22% 0.117 141.5)
XYZxyz(3.6097, 6.5569, 1.5272)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17540F #4C0F54
analogous
#3A540F #17540F #0F5429
triadic
#17540F #0F1754 #540F17
tetradic
#17540F #0F3A54 #4C0F54 #54290F
square
#17540F #0F3A54 #4C0F54 #54290F
split-complementary
#17540F #290F54 #540F3A
monochromatic
#071A05 #092006 #17540F #258818 #33BC22

Accessibility & contrast

On white

9.09
#17540F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#17540F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17540F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17540F#FFFFFF#000000##FFFFFF
##17540F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B02
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#0A5147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #17540f;
/* rgb */ color: rgb(23, 84, 15);
/* oklch */ color: oklch(39.2% 0.117 141.5);
Tailwind
colors: {
  custom: {
    50: '#5e8553',
    500: '#17540f',
    950: '#000000',
  },
}
SCSS
$custom: #17540f;
$custom-light: #5e8553;
$custom-dark: #000000;
JSON
{
  "hex": "#17540f",
  "rgb": {
    "r": 23,
    "g": 84,
    "b": 15
  },
  "hsl": {
    "h": 113.043,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39221,
    "c": 0.11702,
    "h": 141.5
  },
  "luminance": 0.06557
}

Semantic roles & 50–950 ramp

primary
#17540F
secondary
#83318E
accent
#3BEDD8
background
#F5F8F4
surface
#EAEFE7
border
#C6CAC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #17540F

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

Preview Lab → · Contrast checker → · Palette generator →

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