#173906#173906

#173906 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.7% C 0.086 H 137.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#173906
RGBrgb(23, 57, 6)
HSLhsl(100, 81%, 12%)
HSVhsv(100, 89%, 22%)
CMYKcmyk(59.6%, 0%, 89.5%, 77.6%)
CIE-LABlab(20.52, -22.95, 25.70)
CIE-LCHlch(20.52, 34.45, 131.77°)
OKLaboklab(30.73% -0.0636 0.0583)
OKLCHoklch(30.73% 0.086 137.5)
XYZxyz(1.8493, 3.1214, 0.6773)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173906 #280639
analogous
#313906 #173906 #06390F
triadic
#173906 #061739 #390617
tetradic
#173906 #063139 #280639 #390F06
square
#173906 #063139 #280639 #390F06
split-complementary
#173906 #0F0639 #390631
monochromatic
#0B1C03 #0B1C03 #173906 #2D700C #44A812

Accessibility & contrast

On white

12.93
#173906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#173906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173906
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173906#FFFFFF#000000##FFFFFF
##1739061.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#37300B
Tritanopia (blue-blind)
#15372F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #173906;
/* rgb */ color: rgb(23, 57, 6);
/* oklch */ color: oklch(30.7% 0.086 137.5);
Tailwind
colors: {
  custom: {
    50: '#58704a',
    500: '#173906',
    950: '#000000',
  },
}
SCSS
$custom: #173906;
$custom-light: #58704a;
$custom-dark: #000000;
JSON
{
  "hex": "#173906",
  "rgb": {
    "r": 23,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 100,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30725,
    "c": 0.08627,
    "h": 137.5
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#173906
secondary
#5C2279
accent
#30F7B5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173906

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

Preview Lab → · Contrast checker → · Palette generator →

#173906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva