#173B0B#173B0B

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

Color values

HEX#173B0B
RGBrgb(23, 59, 11)
HSLhsl(105, 69%, 14%)
HSVhsv(105, 81%, 23%)
CMYKcmyk(61%, 0%, 81.4%, 76.9%)
CIE-LABlab(21.34, -23.41, 24.54)
CIE-LCHlch(21.34, 33.91, 133.64°)
OKLaboklab(31.41% -0.0644 0.0559)
OKLCHoklch(31.41% 0.085 139.1)
XYZxyz(1.9776, 3.3341, 0.8559)
Luminance0.0333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B0B #2F0B3B
analogous
#2F3B0B #173B0B #0B3B17
triadic
#173B0B #0B173B #3B0B17
tetradic
#173B0B #0B2F3B #2F0B3B #3B170B
square
#173B0B #0B2F3B #2F0B3B #3B170B
split-complementary
#173B0B #170B3B #3B0B2F
monochromatic
#0A1A05 #0A1A05 #173B0B #2B6F15 #3FA21E

Accessibility & contrast

On white

12.60
#173B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B0B
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B0B#FFFFFF#000000##FFFFFF
##173B0B1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3505
Deuteranopia (green-blind)
#383210
Tritanopia (blue-blind)
#143931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b0b;
/* rgb */ color: rgb(23, 59, 11);
/* oklch */ color: oklch(31.4% 0.085 139.1);
Tailwind
colors: {
  custom: {
    50: '#59714d',
    500: '#173b0b',
    950: '#000000',
  },
}
SCSS
$custom: #173b0b;
$custom-light: #59714d;
$custom-dark: #000000;
JSON
{
  "hex": "#173b0b",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 105,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.31407,
    "c": 0.0853,
    "h": 139.1
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#173B0B
secondary
#642A78
accent
#3CEBC0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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