#172702#172702

#172702 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.9% C 0.063 H 129.9°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#172702
RGBrgb(23, 39, 2)
HSLhsl(86, 90%, 8%)
HSVhsv(86, 95%, 15%)
CMYKcmyk(41%, 0%, 94.9%, 84.7%)
CIE-LABlab(13.46, -14.22, 18.68)
CIE-LCHlch(13.46, 23.48, 127.28°)
OKLaboklab(24.92% -0.0407 0.0487)
OKLCHoklch(24.92% 0.063 129.9)
XYZxyz(1.0898, 1.6375, 0.3161)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172702 #120227
analogous
#272402 #172702 #042702
triadic
#172702 #021727 #270217
tetradic
#172702 #022724 #120227 #270204
square
#172702 #022724 #120227 #270204
split-complementary
#172702 #020427 #240227
monochromatic
#111D01 #111D01 #172702 #396105 #5C9B08

Accessibility & contrast

On white

15.82
#172702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#172702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172702
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172702#FFFFFF#000000##FFFFFF
##1727021.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#272204
Tritanopia (blue-blind)
#182520
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #172702;
/* rgb */ color: rgb(23, 39, 2);
/* oklch */ color: oklch(24.9% 0.063 129.9);
Tailwind
colors: {
  custom: {
    50: '#556147',
    500: '#172702',
    950: '#000000',
  },
}
SCSS
$custom: #172702;
$custom-light: #556147;
$custom-dark: #000000;
JSON
{
  "hex": "#172702",
  "rgb": {
    "r": 23,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 85.946,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24916,
    "c": 0.06343,
    "h": 129.9
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#172702
secondary
#3D186C
accent
#29FF85
background
#F5F5F4
surface
#E8E9E6
border
#C4C5C2
text
#030500
muted
#787977

Preview Lab

Preview with #172702

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

Preview Lab → · Contrast checker → · Palette generator →

#172702 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva