#17420C#17420C

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

Color values

HEX#17420C
RGBrgb(23, 66, 12)
HSLhsl(108, 69%, 15%)
HSVhsv(108, 82%, 26%)
CMYKcmyk(65.2%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.02, -26.45, 26.90)
CIE-LCHlch(24.02, 37.72, 134.52°)
OKLaboklab(33.62% -0.0726 0.0609)
OKLCHoklch(33.62% 0.095 140)
XYZxyz(2.3678, 4.1049, 1.0153)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420C #370C42
analogous
#32420C #17420C #0C421C
triadic
#17420C #0C1742 #420C17
tetradic
#17420C #0C3242 #370C42 #421C0C
square
#17420C #0C3242 #370C42 #421C0C
split-complementary
#17420C #1C0C42 #420C32
monochromatic
#091A05 #091A05 #17420C #297615 #3BAA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #17420c;
/* rgb */ color: rgb(23, 66, 12);
/* oklch */ color: oklch(33.6% 0.095 140.0);
Tailwind
colors: {
  custom: {
    50: '#5a774f',
    500: '#17420c',
    950: '#000000',
  },
}
SCSS
$custom: #17420c;
$custom-light: #5a774f;
$custom-dark: #000000;
JSON
{
  "hex": "#17420c",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 107.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.09472,
    "h": 140
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#17420C
secondary
#6D2C7E
accent
#3CECC8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420C

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

Preview Lab → · Contrast checker → · Palette generator →

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