#172A0A#172A0A

#172A0A is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.0% C 0.059 H 134.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#172A0A
RGBrgb(23, 42, 10)
HSLhsl(96, 62%, 10%)
HSVhsv(96, 76%, 16%)
CMYKcmyk(45.2%, 0%, 76.2%, 83.5%)
CIE-LABlab(14.73, -14.89, 17.09)
CIE-LCHlch(14.73, 22.67, 131.06°)
OKLaboklab(25.99% -0.0414 0.0419)
OKLCHoklch(25.99% 0.059 134.6)
XYZxyz(1.2361, 1.8599, 0.5810)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172A0A #1D0A2A
analogous
#272A0A #172A0A #0A2A0D
triadic
#172A0A #0A172A #2A0A17
tetradic
#172A0A #0A272A #1D0A2A #2A0D0A
square
#172A0A #0A272A #1D0A2A #2A0D0A
split-complementary
#172A0A #0D0A2A #2A0A27
monochromatic
#0E1906 #0E1906 #172A0A #325B16 #4D8D22

Accessibility & contrast

On white

15.31
#172A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172A0A
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172A0A#FFFFFF#000000##FFFFFF
##172A0A1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2607
Deuteranopia (green-blind)
#29250C
Tritanopia (blue-blind)
#172823
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #172a0a;
/* rgb */ color: rgb(23, 42, 10);
/* oklch */ color: oklch(26.0% 0.059 134.6);
Tailwind
colors: {
  custom: {
    50: '#55634b',
    500: '#172a0a',
    950: '#000000',
  },
}
SCSS
$custom: #172a0a;
$custom-light: #55634b;
$custom-dark: #000000;
JSON
{
  "hex": "#172a0a",
  "rgb": {
    "r": 23,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 95.625,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.2599,
    "c": 0.05892,
    "h": 134.6
  },
  "luminance": 0.0186
}

Semantic roles & 50–950 ramp

primary
#172A0A
secondary
#4E2967
accent
#43E5A3
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#030501
muted
#787977

Preview Lab

Preview with #172A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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