#173A07#173A07

#173A07 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.1% C 0.087 H 137.9°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#173A07
RGBrgb(23, 58, 7)
HSLhsl(101, 78%, 13%)
HSVhsv(101, 88%, 23%)
CMYKcmyk(60.3%, 0%, 87.9%, 77.3%)
CIE-LABlab(20.92, -23.32, 25.73)
CIE-LCHlch(20.92, 34.72, 132.19°)
OKLaboklab(31.05% -0.0645 0.0582)
OKLCHoklch(31.05% 0.087 137.9)
XYZxyz(1.9047, 3.2235, 0.7228)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173A07 #2A073A
analogous
#313A07 #173A07 #073A10
triadic
#173A07 #07173A #3A0717
tetradic
#173A07 #07313A #2A073A #3A1007
square
#173A07 #07313A #2A073A #3A1007
split-complementary
#173A07 #10073A #3A0731
monochromatic
#0B1B03 #0B1B03 #173A07 #2D710E #42A714

Accessibility & contrast

On white

12.77
#173A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#173A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #173A07
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173A07#FFFFFF#000000##FFFFFF
##173A071.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#143830
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #173a07;
/* rgb */ color: rgb(23, 58, 7);
/* oklch */ color: oklch(31.1% 0.087 137.9);
Tailwind
colors: {
  custom: {
    50: '#59704b',
    500: '#173a07',
    950: '#000000',
  },
}
SCSS
$custom: #173a07;
$custom-light: #59704b;
$custom-dark: #000000;
JSON
{
  "hex": "#173a07",
  "rgb": {
    "r": 23,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 101.176,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.0869,
    "h": 137.9
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#173A07
secondary
#5E2379
accent
#33F5B8
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #173A07

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

Preview Lab → · Contrast checker → · Palette generator →

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