#173E25#173E25

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

Color values

HEX#173E25
RGBrgb(23, 62, 37)
HSLhsl(142, 46%, 17%)
HSVhsv(142, 63%, 24%)
CMYKcmyk(62.9%, 0%, 40.3%, 75.7%)
CIE-LABlab(22.86, -20.63, 11.33)
CIE-LCHlch(22.86, 23.54, 151.22°)
OKLaboklab(32.79% -0.056 0.0284)
OKLCHoklch(32.79% 0.063 153.1)
XYZxyz(2.4097, 3.7608, 2.3488)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E25 #3E1730
analogous
#1D3E17 #173E25 #173E39
triadic
#173E25 #25173E #3E2517
tetradic
#173E25 #171D3E #3E1730 #3E3917
square
#173E25 #171D3E #3E1730 #3E3917
split-complementary
#173E25 #39173E #3E171D
monochromatic
#08160D #08160D #173E25 #286B40 #38975A

Accessibility & contrast

On white

11.98
#173E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #173E25
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##173E25#FFFFFF#000000##FFFFFF
##173E251.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3923
Deuteranopia (green-blind)
#393527
Tritanopia (blue-blind)
#0C3D38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173e25;
/* rgb */ color: rgb(23, 62, 37);
/* oklch */ color: oklch(32.8% 0.063 153.1);
Tailwind
colors: {
  custom: {
    50: '#58735f',
    500: '#173e25',
    950: '#000000',
  },
}
SCSS
$custom: #173e25;
$custom-light: #58735f;
$custom-dark: #000000;
JSON
{
  "hex": "#173e25",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 37
  },
  "hsl": {
    "h": 141.538,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3279,
    "c": 0.06284,
    "h": 153.1
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#173E25
secondary
#753C60
accent
#52A6D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #173E25

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

Preview Lab → · Contrast checker → · Palette generator →

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