#17420B#17420B

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

Color values

HEX#17420B
RGBrgb(23, 66, 11)
HSLhsl(107, 71%, 15%)
HSVhsv(107, 83%, 26%)
CMYKcmyk(65.2%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.01, -26.54, 27.32)
CIE-LCHlch(24.01, 38.09, 134.17°)
OKLaboklab(33.61% -0.0729 0.0616)
OKLCHoklch(33.61% 0.095 139.8)
XYZxyz(2.3619, 4.1025, 0.9839)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420B #360B42
analogous
#33420B #17420B #0B421A
triadic
#17420B #0B1742 #420B17
tetradic
#17420B #0B3342 #360B42 #421A0B
square
#17420B #0B3342 #360B42 #421A0B
split-complementary
#17420B #1A0B42 #420B33
monochromatic
#091A04 #091A04 #17420B #297614 #3CAB1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17420B#FFFFFF#000000##FFFFFF
##17420B1.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)
#443B03
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#124037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17420b;
/* rgb */ color: rgb(23, 66, 11);
/* oklch */ color: oklch(33.6% 0.095 139.8);
Tailwind
colors: {
  custom: {
    50: '#5a774e',
    500: '#17420b',
    950: '#000000',
  },
}
SCSS
$custom: #17420b;
$custom-light: #5a774e;
$custom-dark: #000000;
JSON
{
  "hex": "#17420b",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 106.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33611,
    "c": 0.09543,
    "h": 139.8
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#17420B
secondary
#6C2A7F
accent
#3AEEC7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420B

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

Preview Lab → · Contrast checker → · Palette generator →

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