#17420D#17420D

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

Color values

HEX#17420D
RGBrgb(23, 66, 13)
HSLhsl(109, 67%, 15%)
HSVhsv(109, 80%, 26%)
CMYKcmyk(65.2%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.02, -26.36, 26.46)
CIE-LCHlch(24.02, 37.34, 134.89°)
OKLaboklab(33.63% -0.0723 0.0601)
OKLCHoklch(33.63% 0.094 140.2)
XYZxyz(2.3741, 4.1074, 1.0484)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420D #380D42
analogous
#31420D #17420D #0D421D
triadic
#17420D #0D1742 #420D17
tetradic
#17420D #0D3142 #380D42 #421D0D
square
#17420D #0D3142 #380D42 #421D0D
split-complementary
#17420D #1D0D42 #420D31
monochromatic
#091A05 #091A05 #17420D #297517 #3BA821

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17420D#FFFFFF#000000##FFFFFF
##17420D1.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)
#443B05
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#124038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17420d;
/* rgb */ color: rgb(23, 66, 13);
/* oklch */ color: oklch(33.6% 0.094 140.2);
Tailwind
colors: {
  custom: {
    50: '#5a774f',
    500: '#17420d',
    950: '#000000',
  },
}
SCSS
$custom: #17420d;
$custom-light: #5a774f;
$custom-dark: #000000;
JSON
{
  "hex": "#17420d",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 108.679,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33629,
    "c": 0.09399,
    "h": 140.2
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#17420D
secondary
#6E2D7E
accent
#3EEACA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420D

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

Preview Lab → · Contrast checker → · Palette generator →

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