#173E27#173E27

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

Color values

HEX#173E27
RGBrgb(23, 62, 39)
HSLhsl(145, 46%, 17%)
HSVhsv(145, 63%, 24%)
CMYKcmyk(62.9%, 0%, 37.1%, 75.7%)
CIE-LABlab(22.91, -20.17, 10.10)
CIE-LCHlch(22.91, 22.56, 153.41°)
OKLaboklab(32.84% -0.0549 0.0255)
OKLCHoklch(32.84% 0.061 155.1)
XYZxyz(2.4420, 3.7737, 2.5188)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#173E27 #3E172E
analogous
#1B3E17 #173E27 #173E3B
triadic
#173E27 #27173E #3E2717
tetradic
#173E27 #171B3E #3E172E #3E3B17
square
#173E27 #171B3E #3E172E #3E3B17
split-complementary
#173E27 #3B173E #3E171B
monochromatic
#08160E #08160E #173E27 #286B43 #38975F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##173E27#FFFFFF#000000##FFFFFF
##173E271.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)
#3E3926
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#0B3D38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #173e27;
/* rgb */ color: rgb(23, 62, 39);
/* oklch */ color: oklch(32.8% 0.061 155.1);
Tailwind
colors: {
  custom: {
    50: '#587361',
    500: '#173e27',
    950: '#000000',
  },
}
SCSS
$custom: #173e27;
$custom-light: #587361;
$custom-dark: #000000;
JSON
{
  "hex": "#173e27",
  "rgb": {
    "r": 23,
    "g": 62,
    "b": 39
  },
  "hsl": {
    "h": 144.615,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.32841,
    "c": 0.06055,
    "h": 155.1
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#173E27
secondary
#753C5D
accent
#52A0D6
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #173E27

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

Preview Lab → · Contrast checker → · Palette generator →

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