#173B14#173B14

#173B14 is a dark, moderate green. Relative luminance 0.034; OKLCH L 31.5% C 0.077 H 142.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#173B14
RGBrgb(23, 59, 20)
HSLhsl(115, 49%, 15%)
HSVhsv(115, 66%, 23%)
CMYKcmyk(61%, 0%, 66.1%, 76.9%)
CIE-LABlab(21.43, -22.32, 20.00)
CIE-LCHlch(21.43, 29.97, 138.13°)
OKLaboklab(31.52% -0.0608 0.0473)
OKLCHoklch(31.52% 0.077 142.1)
XYZxyz(2.0435, 3.3604, 1.2026)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B14 #38143B
analogous
#2A3B14 #173B14 #143B24
triadic
#173B14 #14173B #3B1417
tetradic
#173B14 #142A3B #38143B #3B2414
square
#173B14 #142A3B #38143B #3B2414
split-complementary
#173B14 #24143B #3B142A
monochromatic
#091708 #091708 #173B14 #296923 #3B9633

Accessibility & contrast

On white

12.56
#173B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173B14
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173B14#FFFFFF#000000##FFFFFF
##173B141.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3510
Deuteranopia (green-blind)
#383217
Tritanopia (blue-blind)
#123932
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b14;
/* rgb */ color: rgb(23, 59, 20);
/* oklch */ color: oklch(31.5% 0.077 142.1);
Tailwind
colors: {
  custom: {
    50: '#587153',
    500: '#173b14',
    950: '#000000',
  },
}
SCSS
$custom: #173b14;
$custom-light: #587153;
$custom-dark: #000000;
JSON
{
  "hex": "#173b14",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 20
  },
  "hsl": {
    "h": 115.385,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.31519,
    "c": 0.07706,
    "h": 142.1
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#173B14
secondary
#6E3873
accent
#4FD9CE
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #173B14

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

Preview Lab → · Contrast checker → · Palette generator →

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