#172602#172602

#172602 is a very dark, moderate yellow-green. Relative luminance 0.016; OKLCH L 24.6% C 0.062 H 129.3°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#172602
RGBrgb(23, 38, 2)
HSLhsl(85, 90%, 8%)
HSVhsv(85, 95%, 15%)
CMYKcmyk(39.5%, 0%, 94.7%, 85.1%)
CIE-LABlab(13.06, -13.65, 18.16)
CIE-LCHlch(13.06, 22.72, 126.94°)
OKLaboklab(24.6% -0.0392 0.0479)
OKLCHoklch(24.6% 0.062 129.3)
XYZxyz(1.0574, 1.5727, 0.3053)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172602 #110226
analogous
#262302 #172602 #052602
triadic
#172602 #021726 #260217
tetradic
#172602 #022623 #110226 #260205
square
#172602 #022623 #110226 #260205
split-complementary
#172602 #020526 #230226
monochromatic
#121D02 #121D02 #172602 #3A6005 #5D9A08

Accessibility & contrast

On white

15.97
#172602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#172602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172602
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172602#FFFFFF#000000##FFFFFF
##1726021.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282200
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#18241F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #172602;
/* rgb */ color: rgb(23, 38, 2);
/* oklch */ color: oklch(24.6% 0.062 129.3);
Tailwind
colors: {
  custom: {
    50: '#546047',
    500: '#172602',
    950: '#000000',
  },
}
SCSS
$custom: #172602;
$custom-light: #546047;
$custom-dark: #000000;
JSON
{
  "hex": "#172602",
  "rgb": {
    "r": 23,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 85,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24595,
    "c": 0.06189,
    "h": 129.3
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#172602
secondary
#3B186B
accent
#29FF82
background
#F4F5F4
surface
#E8E9E6
border
#C4C5C2
text
#030500
muted
#787977

Preview Lab

Preview with #172602

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

Preview Lab → · Contrast checker → · Palette generator →

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