#173302#173302

#173302 is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 28.8% C 0.081 H 135.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#173302
RGBrgb(23, 51, 2)
HSLhsl(94, 92%, 10%)
HSVhsv(94, 96%, 20%)
CMYKcmyk(54.9%, 0%, 96.1%, 80%)
CIE-LABlab(18.16, -20.51, 24.61)
CIE-LCHlch(18.16, 32.03, 129.80°)
OKLaboklab(28.77% -0.0575 0.0574)
OKLCHoklch(28.77% 0.081 135.1)
XYZxyz(1.5481, 2.5541, 0.4688)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173302 #1E0233
analogous
#2F3302 #173302 #023306
triadic
#173302 #021733 #330217
tetradic
#173302 #022F33 #1E0233 #330602
square
#173302 #022F33 #1E0233 #330602
split-complementary
#173302 #060233 #33022F
monochromatic
#0D1D01 #0D1D01 #173302 #326E04 #4CA907

Accessibility & contrast

On white

13.90
#173302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#173302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173302
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173302#FFFFFF#000000##FFFFFF
##1733021.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E00
Deuteranopia (green-blind)
#322C06
Tritanopia (blue-blind)
#16312A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #173302;
/* rgb */ color: rgb(23, 51, 2);
/* oklch */ color: oklch(28.8% 0.081 135.1);
Tailwind
colors: {
  custom: {
    50: '#576b48',
    500: '#173302',
    950: '#000000',
  },
}
SCSS
$custom: #173302;
$custom-light: #576b48;
$custom-dark: #000000;
JSON
{
  "hex": "#173302",
  "rgb": {
    "r": 23,
    "g": 51,
    "b": 2
  },
  "hsl": {
    "h": 94.286,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.08125,
    "h": 135.1
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#173302
secondary
#4F1A77
accent
#29FFA3
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #173302

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

Preview Lab → · Contrast checker → · Palette generator →

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