#172302#172302

#172302 is a very dark, muted yellow-green. Relative luminance 0.014; OKLCH L 23.6% C 0.057 H 127.0°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#172302
RGBrgb(23, 35, 2)
HSLhsl(82, 89%, 7%)
HSVhsv(82, 94%, 14%)
CMYKcmyk(34.3%, 0%, 94.3%, 86.3%)
CIE-LABlab(11.88, -11.90, 16.56)
CIE-LCHlch(11.88, 20.39, 125.70°)
OKLaboklab(23.63% -0.0344 0.0457)
OKLCHoklch(23.63% 0.057 127)
XYZxyz(0.9653, 1.3886, 0.2746)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172302 #0E0223
analogous
#231F02 #172302 #072302
triadic
#172302 #021723 #230217
tetradic
#172302 #02231F #0E0223 #230207
square
#172302 #02231F #0E0223 #230207
split-complementary
#172302 #020723 #1F0223
monochromatic
#131D02 #131D02 #172302 #3D5D05 #639709

Accessibility & contrast

On white

16.43
#172302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#172302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172302
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172302#FFFFFF#000000##FFFFFF
##1723021.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252000
Deuteranopia (green-blind)
#241F04
Tritanopia (blue-blind)
#18211C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #172302;
/* rgb */ color: rgb(23, 35, 2);
/* oklch */ color: oklch(23.6% 0.057 127.0);
Tailwind
colors: {
  custom: {
    50: '#545e47',
    500: '#172302',
    950: '#000000',
  },
}
SCSS
$custom: #172302;
$custom-light: #545e47;
$custom-dark: #000000;
JSON
{
  "hex": "#172302",
  "rgb": {
    "r": 23,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 81.818,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.23634,
    "c": 0.05719,
    "h": 127
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#172302
secondary
#351869
accent
#29FF77
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#030400
muted
#787977

Preview Lab

Preview with #172302

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

Preview Lab → · Contrast checker → · Palette generator →

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