#17420E#17420E

#17420E is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.093 H 140.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#17420E
RGBrgb(23, 66, 14)
HSLhsl(110, 65%, 16%)
HSVhsv(110, 79%, 26%)
CMYKcmyk(65.2%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.03, -26.26, 26.01)
CIE-LCHlch(24.03, 36.96, 135.28°)
OKLaboklab(33.64% -0.0719 0.0593)
OKLCHoklch(33.64% 0.093 140.5)
XYZxyz(2.3807, 4.1101, 1.0832)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420E #390E42
analogous
#31420E #17420E #0E421F
triadic
#17420E #0E1742 #420E17
tetradic
#17420E #0E3142 #390E42 #421F0E
square
#17420E #0E3142 #390E42 #421F0E
split-complementary
#17420E #1F0E42 #420E31
monochromatic
#091905 #091905 #17420E #297419 #3AA723

Accessibility & contrast

On white

11.53
#17420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#17420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17420E
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17420E#FFFFFF#000000##FFFFFF
##17420E1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B06
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#114038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17420e;
/* rgb */ color: rgb(23, 66, 14);
/* oklch */ color: oklch(33.6% 0.093 140.5);
Tailwind
colors: {
  custom: {
    50: '#5a7750',
    500: '#17420e',
    950: '#000000',
  },
}
SCSS
$custom: #17420e;
$custom-light: #5a7750;
$custom-dark: #000000;
JSON
{
  "hex": "#17420e",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 109.615,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.09322,
    "h": 140.5
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#17420E
secondary
#6F2F7D
accent
#40E8CB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420E

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

Preview Lab → · Contrast checker → · Palette generator →

#17420E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva