#174E2F#174E2F

#174E2F is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.9% C 0.078 H 154.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#174E2F
RGBrgb(23, 78, 47)
HSLhsl(146, 54%, 20%)
HSVhsv(146, 71%, 31%)
CMYKcmyk(70.5%, 0%, 39.7%, 69.4%)
CIE-LABlab(28.99, -26.17, 13.23)
CIE-LCHlch(28.99, 29.33, 153.18°)
OKLaboklab(37.89% -0.0709 0.0332)
OKLCHoklch(37.89% 0.078 154.9)
XYZxyz(3.5905, 5.8358, 3.6260)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E2F #4E1736
analogous
#1B4E17 #174E2F #174E4B
triadic
#174E2F #2F174E #4E2F17
tetradic
#174E2F #171B4E #4E1736 #4E4B17
square
#174E2F #171B4E #4E1736 #4E4B17
split-complementary
#174E2F #4B174E #4E171B
monochromatic
#07180E #091F13 #174E2F #257D4B #33AD68

Accessibility & contrast

On white

9.69
#174E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#174E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E2F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E2F#FFFFFF#000000##FFFFFF
##174E2F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472D
Deuteranopia (green-blind)
#474231
Tritanopia (blue-blind)
#004D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e2f;
/* rgb */ color: rgb(23, 78, 47);
/* oklch */ color: oklch(37.9% 0.078 154.9);
Tailwind
colors: {
  custom: {
    50: '#5b8067',
    500: '#174e2f',
    950: '#000000',
  },
}
SCSS
$custom: #174e2f;
$custom-light: #5b8067;
$custom-dark: #000000;
JSON
{
  "hex": "#174e2f",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 146.182,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37887,
    "c": 0.07829,
    "h": 154.9
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#174E2F
secondary
#853C65
accent
#4A9DDE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #174E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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