#17420F#17420F

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

Color values

HEX#17420F
RGBrgb(23, 66, 15)
HSLhsl(111, 63%, 16%)
HSVhsv(111, 77%, 26%)
CMYKcmyk(65.2%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.04, -26.15, 25.54)
CIE-LCHlch(24.04, 36.56, 135.68°)
OKLaboklab(33.65% -0.0716 0.0585)
OKLCHoklch(33.65% 0.092 140.8)
XYZxyz(2.3877, 4.1129, 1.1199)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17420F #3A0F42
analogous
#30420F #17420F #0F4220
triadic
#17420F #0F1742 #420F17
tetradic
#17420F #0F3042 #3A0F42 #42200F
square
#17420F #0F3042 #3A0F42 #42200F
split-complementary
#17420F #200F42 #420F30
monochromatic
#091906 #091906 #17420F #28741A #3AA626

Accessibility & contrast

On white

11.52
#17420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17420F
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17420F#FFFFFF#000000##FFFFFF
##17420F1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17420f;
/* rgb */ color: rgb(23, 66, 15);
/* oklch */ color: oklch(33.6% 0.092 140.8);
Tailwind
colors: {
  custom: {
    50: '#5a7750',
    500: '#17420f',
    950: '#000000',
  },
}
SCSS
$custom: #17420f;
$custom-light: #5a7750;
$custom-dark: #000000;
JSON
{
  "hex": "#17420f",
  "rgb": {
    "r": 23,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 110.588,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.09243,
    "h": 140.8
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#17420F
secondary
#71307C
accent
#42E6CC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #17420F

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

Preview Lab → · Contrast checker → · Palette generator →

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