#174F27#174F27

#174F27 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.089 H 149.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#174F27
RGBrgb(23, 79, 39)
HSLhsl(137, 55%, 20%)
HSVhsv(137, 71%, 31%)
CMYKcmyk(70.9%, 0%, 50.6%, 69%)
CIE-LABlab(29.21, -28.28, 18.38)
CIE-LCHlch(29.21, 33.73, 146.98°)
OKLaboklab(38.02% -0.0763 0.045)
OKLCHoklch(38.02% 0.089 149.5)
XYZxyz(3.5153, 5.9202, 2.8765)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F27 #4F173F
analogous
#234F17 #174F27 #174F43
triadic
#174F27 #27174F #4F2717
tetradic
#174F27 #17234F #4F173F #4F4317
square
#174F27 #17234F #4F173F #4F4317
split-complementary
#174F27 #43174F #4F1723
monochromatic
#07180C #092010 #174F27 #257E3E #33AE56

Accessibility & contrast

On white

9.61
#174F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#174F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F27
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F27#FFFFFF#000000##FFFFFF
##174F271.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504824
Deuteranopia (green-blind)
#49432A
Tritanopia (blue-blind)
#044D45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f27;
/* rgb */ color: rgb(23, 79, 39);
/* oklch */ color: oklch(38.0% 0.089 149.5);
Tailwind
colors: {
  custom: {
    50: '#5c8162',
    500: '#174f27',
    950: '#000000',
  },
}
SCSS
$custom: #174f27;
$custom-light: #5c8162;
$custom-dark: #000000;
JSON
{
  "hex": "#174f27",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 39
  },
  "hsl": {
    "h": 137.143,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.0886,
    "h": 149.5
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#174F27
secondary
#863C71
accent
#4AB4DE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174F27

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

Preview Lab → · Contrast checker → · Palette generator →

#174F27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva