#173B0A#173B0A

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

Color values

HEX#173B0A
RGBrgb(23, 59, 10)
HSLhsl(104, 71%, 14%)
HSVhsv(104, 83%, 23%)
CMYKcmyk(61%, 0%, 83.1%, 76.9%)
CIE-LABlab(21.33, -23.50, 24.95)
CIE-LCHlch(21.33, 34.27, 133.28°)
OKLaboklab(31.4% -0.0648 0.0567)
OKLCHoklch(31.4% 0.086 138.8)
XYZxyz(1.9720, 3.3318, 0.8263)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173B0A #2E0A3B
analogous
#2F3B0A #173B0A #0A3B15
triadic
#173B0A #0A173B #3B0A17
tetradic
#173B0A #0A2F3B #2E0A3B #3B150A
square
#173B0A #0A2F3B #2E0A3B #3B150A
split-complementary
#173B0A #150A3B #3B0A2F
monochromatic
#0A1A04 #0A1A04 #173B0A #2B6F13 #40A41C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173B0A#FFFFFF#000000##FFFFFF
##173B0A1.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)
#3D3503
Deuteranopia (green-blind)
#38320F
Tritanopia (blue-blind)
#143931
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #173b0a;
/* rgb */ color: rgb(23, 59, 10);
/* oklch */ color: oklch(31.4% 0.086 138.8);
Tailwind
colors: {
  custom: {
    50: '#59714d',
    500: '#173b0a',
    950: '#000000',
  },
}
SCSS
$custom: #173b0a;
$custom-light: #59714d;
$custom-dark: #000000;
JSON
{
  "hex": "#173b0a",
  "rgb": {
    "r": 23,
    "g": 59,
    "b": 10
  },
  "hsl": {
    "h": 104.082,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31397,
    "c": 0.08606,
    "h": 138.8
  },
  "luminance": 0.03332
}

Semantic roles & 50–950 ramp

primary
#173B0A
secondary
#632878
accent
#3AEEBE
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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