#173B0E#173B0E

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

Color values

HEX#173B0E
RGBrgb(23, 59, 14)
HSLhsl(108, 62%, 14%)
HSVhsv(108, 76%, 23%)
CMYKcmyk(61%, 0%, 76.3%, 76.9%)
CIE-LABlab(21.36, -23.09, 23.17)
CIE-LCHlch(21.36, 32.71, 134.90°)
OKLaboklab(31.44% -0.0633 0.0534)
OKLCHoklch(31.44% 0.083 139.9)
XYZxyz(1.9965, 3.3416, 0.9552)
Luminance0.0334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B0E #320E3B
analogous
#2E3B0E #173B0E #0E3B1C
triadic
#173B0E #0E173B #3B0E17
tetradic
#173B0E #0E2E3B #320E3B #3B1C0E
square
#173B0E #0E2E3B #320E3B #3B1C0E
split-complementary
#173B0E #1C0E3B #3B0E2E
monochromatic
#0A1906 #0A1906 #173B0E #2A6C1A #3E9E25

Accessibility & contrast

On white

12.59
#173B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#173B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173B0E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B0E#FFFFFF#000000##FFFFFF
##173B0E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3508
Deuteranopia (green-blind)
#383212
Tritanopia (blue-blind)
#133932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b0e;
/* rgb */ color: rgb(23, 59, 14);
/* oklch */ color: oklch(31.4% 0.083 139.9);
Tailwind
colors: {
  custom: {
    50: '#58714f',
    500: '#173b0e',
    950: '#000000',
  },
}
SCSS
$custom: #173b0e;
$custom-light: #58714f;
$custom-dark: #000000;
JSON
{
  "hex": "#173b0e",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 14
  },
  "hsl": {
    "h": 108,
    "s": 61.644,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.08282,
    "h": 139.9
  },
  "luminance": 0.03342
}

Semantic roles & 50–950 ramp

primary
#173B0E
secondary
#682F76
accent
#43E5C4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #173B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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