#173F0F#173F0F

#173F0F is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.088 H 140.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#173F0F
RGBrgb(23, 63, 15)
HSLhsl(110, 62%, 15%)
HSVhsv(110, 76%, 25%)
CMYKcmyk(63.5%, 0%, 76.2%, 75.3%)
CIE-LABlab(22.90, -24.82, 24.33)
CIE-LCHlch(22.90, 34.75, 135.57°)
OKLaboklab(32.71% -0.068 0.0559)
OKLCHoklch(32.71% 0.088 140.6)
XYZxyz(2.2170, 3.7715, 1.0630)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173F0F #370F3F
analogous
#2F3F0F #173F0F #0F3F1F
triadic
#173F0F #0F173F #3F0F17
tetradic
#173F0F #0F2F3F #370F3F #3F1F0F
square
#173F0F #0F2F3F #370F3F #3F1F0F
split-complementary
#173F0F #1F0F3F #3F0F2F
monochromatic
#091906 #091906 #173F0F #29701B #3BA227

Accessibility & contrast

On white

11.97
#173F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#173F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173F0F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173F0F#FFFFFF#000000##FFFFFF
##173F0F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413909
Deuteranopia (green-blind)
#3C3513
Tritanopia (blue-blind)
#123D35
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173f0f;
/* rgb */ color: rgb(23, 63, 15);
/* oklch */ color: oklch(32.7% 0.088 140.6);
Tailwind
colors: {
  custom: {
    50: '#597450',
    500: '#173f0f',
    950: '#000000',
  },
}
SCSS
$custom: #173f0f;
$custom-light: #597450;
$custom-dark: #000000;
JSON
{
  "hex": "#173f0f",
  "rgb": {
    "r": 23,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 110,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.32709,
    "c": 0.08801,
    "h": 140.6
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#173F0F
secondary
#6D3079
accent
#43E5CA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #173F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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