#172A0E#172A0E

#172A0E is a dark, muted green. Relative luminance 0.019; OKLCH L 26.1% C 0.054 H 136.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#172A0E
RGBrgb(23, 42, 14)
HSLhsl(101, 50%, 11%)
HSVhsv(101, 67%, 16%)
CMYKcmyk(45.2%, 0%, 66.7%, 83.5%)
CIE-LABlab(14.79, -14.36, 15.34)
CIE-LCHlch(14.79, 21.01, 133.10°)
OKLaboklab(26.05% -0.0396 0.0374)
OKLCHoklch(26.05% 0.054 136.6)
XYZxyz(1.2605, 1.8697, 0.7099)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A0E #210E2A
analogous
#252A0E #172A0E #0E2A13
triadic
#172A0E #0E172A #2A0E17
tetradic
#172A0E #0E252A #210E2A #2A130E
square
#172A0E #0E252A #210E2A #2A130E
split-complementary
#172A0E #130E2A #2A0E25
monochromatic
#0D1708 #0D1708 #172A0E #30581D #49862D

Accessibility & contrast

On white

15.28
#172A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#172A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172A0E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A0E#FFFFFF#000000##FFFFFF
##172A0E1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260B
Deuteranopia (green-blind)
#292510
Tritanopia (blue-blind)
#162824
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172a0e;
/* rgb */ color: rgb(23, 42, 14);
/* oklch */ color: oklch(26.1% 0.054 136.6);
Tailwind
colors: {
  custom: {
    50: '#55634d',
    500: '#172a0e',
    950: '#000000',
  },
}
SCSS
$custom: #172a0e;
$custom-light: #55634d;
$custom-dark: #000000;
JSON
{
  "hex": "#172a0e",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 100.714,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26052,
    "c": 0.05443,
    "h": 136.6
  },
  "luminance": 0.0187
}

Semantic roles & 50–950 ramp

primary
#172A0E
secondary
#533064
accent
#4EDAAD
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172A0E

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

Preview Lab → · Contrast checker → · Palette generator →

#172A0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva