#173102#173102

#173102 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.1% C 0.078 H 134.5°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#173102
RGBrgb(23, 49, 2)
HSLhsl(93, 92%, 10%)
HSVhsv(93, 96%, 19%)
CMYKcmyk(53.1%, 0%, 95.9%, 80.8%)
CIE-LABlab(17.38, -19.52, 23.67)
CIE-LCHlch(17.38, 30.68, 129.51°)
OKLaboklab(28.13% -0.0549 0.056)
OKLCHoklch(28.13% 0.078 134.5)
XYZxyz(1.4626, 2.3831, 0.4403)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173102 #1C0231
analogous
#2F3102 #173102 #023104
triadic
#173102 #021731 #310217
tetradic
#173102 #022F31 #1C0231 #310402
square
#173102 #022F31 #1C0231 #310402
split-complementary
#173102 #040231 #31022F
monochromatic
#0E1D01 #0E1D01 #173102 #336C04 #4EA707

Accessibility & contrast

On white

14.22
#173102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#173102 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173102
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173102#FFFFFF#000000##FFFFFF
##1731021.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#302A06
Tritanopia (blue-blind)
#162F28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #173102;
/* rgb */ color: rgb(23, 49, 2);
/* oklch */ color: oklch(28.1% 0.078 134.5);
Tailwind
colors: {
  custom: {
    50: '#576948',
    500: '#173102',
    950: '#000000',
  },
}
SCSS
$custom: #173102;
$custom-light: #576948;
$custom-dark: #000000;
JSON
{
  "hex": "#173102",
  "rgb": {
    "r": 23,
    "g": 49,
    "b": 2
  },
  "hsl": {
    "h": 93.191,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.28129,
    "c": 0.07839,
    "h": 134.5
  },
  "luminance": 0.02383
}

Semantic roles & 50–950 ramp

primary
#173102
secondary
#4C1975
accent
#29FF9F
background
#F5F6F4
surface
#E9EBE6
border
#C5C6C2
text
#030600
muted
#787A77

Preview Lab

Preview with #173102

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

Preview Lab → · Contrast checker → · Palette generator →

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