#174F2E#174F2E

#174F2E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.081 H 153.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#174F2E
RGBrgb(23, 79, 46)
HSLhsl(145, 55%, 20%)
HSVhsv(145, 71%, 31%)
CMYKcmyk(70.9%, 0%, 41.8%, 69%)
CIE-LABlab(29.34, -26.86, 14.31)
CIE-LCHlch(29.34, 30.43, 151.95°)
OKLaboklab(38.16% -0.0727 0.0357)
OKLCHoklch(38.16% 0.081 153.8)
XYZxyz(3.6422, 5.9710, 3.5448)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F2E #4F1738
analogous
#1C4F17 #174F2E #174F4A
triadic
#174F2E #2E174F #4F2E17
tetradic
#174F2E #171C4F #4F1738 #4F4A17
square
#174F2E #171C4F #4F1738 #4F4A17
split-complementary
#174F2E #4A174F #4F171C
monochromatic
#07180E #092012 #174F2E #257E4A #33AE65

Accessibility & contrast

On white

9.57
#174F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F2E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F2E#FFFFFF#000000##FFFFFF
##174F2E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#484330
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f2e;
/* rgb */ color: rgb(23, 79, 46);
/* oklch */ color: oklch(38.2% 0.081 153.8);
Tailwind
colors: {
  custom: {
    50: '#5c8167',
    500: '#174f2e',
    950: '#000000',
  },
}
SCSS
$custom: #174f2e;
$custom-light: #5c8167;
$custom-dark: #000000;
JSON
{
  "hex": "#174f2e",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 46
  },
  "hsl": {
    "h": 144.643,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38164,
    "c": 0.08097,
    "h": 153.8
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#174F2E
secondary
#863C68
accent
#4AA1DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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