#17420A#17420A

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

Color values

HEX#17420A
RGBrgb(23, 66, 10)
HSLhsl(106, 74%, 15%)
HSVhsv(106, 85%, 26%)
CMYKcmyk(65.2%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.00, -26.63, 27.73)
CIE-LCHlch(24.00, 38.44, 133.84°)
OKLaboklab(33.6% -0.0732 0.0623)
OKLCHoklch(33.6% 0.096 139.6)
XYZxyz(2.3562, 4.1003, 0.9544)
Luminance0.0410 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420A #350A42
analogous
#33420A #17420A #0A4219
triadic
#17420A #0A1742 #420A17
tetradic
#17420A #0A3342 #350A42 #42190A
square
#17420A #0A3342 #350A42 #42190A
split-complementary
#17420A #190A42 #420A33
monochromatic
#091B04 #091B04 #17420A #2A7712 #3CAC1A

Accessibility & contrast

On white

11.54
#17420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17420A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17420A#FFFFFF#000000##FFFFFF
##17420A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#124037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #17420a;
/* rgb */ color: rgb(23, 66, 10);
/* oklch */ color: oklch(33.6% 0.096 139.6);
Tailwind
colors: {
  custom: {
    50: '#5a774e',
    500: '#17420a',
    950: '#000000',
  },
}
SCSS
$custom: #17420a;
$custom-light: #5a774e;
$custom-dark: #000000;
JSON
{
  "hex": "#17420a",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 106.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33603,
    "c": 0.0961,
    "h": 139.6
  },
  "luminance": 0.04101
}

Semantic roles & 50–950 ramp

primary
#17420A
secondary
#6B297F
accent
#37F0C5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420A

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

Preview Lab → · Contrast checker → · Palette generator →

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