#173F15#173F15

#173F15 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.082 H 142.6°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#173F15
RGBrgb(23, 63, 21)
HSLhsl(117, 50%, 16%)
HSVhsv(117, 67%, 25%)
CMYKcmyk(63.5%, 0%, 66.7%, 75.3%)
CIE-LABlab(22.97, -24.06, 21.22)
CIE-LCHlch(22.97, 32.08, 138.59°)
OKLaboklab(32.79% -0.0655 0.0501)
OKLCHoklch(32.79% 0.082 142.6)
XYZxyz(2.2661, 3.7911, 1.3217)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F15 #3D153F
analogous
#2C3F15 #173F15 #153F28
triadic
#173F15 #15173F #3F1517
tetradic
#173F15 #152C3F #3D153F #3F2815
square
#173F15 #152C3F #3D153F #3F2815
split-complementary
#173F15 #28153F #3F152C
monochromatic
#081708 #081708 #173F15 #286D24 #399B34

Accessibility & contrast

On white

11.94
#173F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#173F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F15
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F15#FFFFFF#000000##FFFFFF
##173F151.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413911
Deuteranopia (green-blind)
#3B3518
Tritanopia (blue-blind)
#113D36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f15;
/* rgb */ color: rgb(23, 63, 21);
/* oklch */ color: oklch(32.8% 0.082 142.6);
Tailwind
colors: {
  custom: {
    50: '#597454',
    500: '#173f15',
    950: '#000000',
  },
}
SCSS
$custom: #173f15;
$custom-light: #597454;
$custom-dark: #000000;
JSON
{
  "hex": "#173f15",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 21
  },
  "hsl": {
    "h": 117.143,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.32786,
    "c": 0.08243,
    "h": 142.6
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#173F15
secondary
#743977
accent
#4EDAD3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173F15

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

Preview Lab → · Contrast checker → · Palette generator →

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