#173B06#173B06

#173B06 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.4% C 0.089 H 137.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#173B06
RGBrgb(23, 59, 6)
HSLhsl(101, 82%, 13%)
HSVhsv(101, 90%, 23%)
CMYKcmyk(61%, 0%, 89.8%, 76.9%)
CIE-LABlab(21.29, -23.87, 26.55)
CIE-LCHlch(21.29, 35.70, 131.96°)
OKLaboklab(31.36% -0.0661 0.0598)
OKLCHoklch(31.36% 0.089 137.9)
XYZxyz(1.9501, 3.3231, 0.7109)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B06 #2A063B
analogous
#313B06 #173B06 #063B10
triadic
#173B06 #06173B #3B0617
tetradic
#173B06 #06313B #2A063B #3B1006
square
#173B06 #06313B #2A063B #3B1006
split-complementary
#173B06 #10063B #3B0631
monochromatic
#0B1C03 #0B1C03 #173B06 #2D730C #42AA11

Accessibility & contrast

On white

12.62
#173B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#173B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B06
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B06#FFFFFF#000000##FFFFFF
##173B061.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#39320C
Tritanopia (blue-blind)
#143931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b06;
/* rgb */ color: rgb(23, 59, 6);
/* oklch */ color: oklch(31.4% 0.089 137.9);
Tailwind
colors: {
  custom: {
    50: '#59714b',
    500: '#173b06',
    950: '#000000',
  },
}
SCSS
$custom: #173b06;
$custom-light: #59714b;
$custom-dark: #000000;
JSON
{
  "hex": "#173b06",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 100.755,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3136,
    "c": 0.08912,
    "h": 137.9
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#173B06
secondary
#5E227B
accent
#30F8B8
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040801
muted
#797B77

Preview Lab

Preview with #173B06

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

Preview Lab → · Contrast checker → · Palette generator →

#173B06 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva