#174F2B#174F2B

#174F2B is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.1% C 0.084 H 151.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#174F2B
RGBrgb(23, 79, 43)
HSLhsl(141, 55%, 20%)
HSVhsv(141, 71%, 31%)
CMYKcmyk(70.9%, 0%, 45.6%, 69%)
CIE-LABlab(29.28, -27.49, 16.07)
CIE-LCHlch(29.28, 31.85, 149.70°)
OKLaboklab(38.1% -0.0742 0.0398)
OKLCHoklch(38.1% 0.084 151.8)
XYZxyz(3.5851, 5.9482, 3.2442)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F2B #4F173B
analogous
#1F4F17 #174F2B #174F47
triadic
#174F2B #2B174F #4F2B17
tetradic
#174F2B #171F4F #4F173B #4F4717
square
#174F2B #171F4F #4F173B #4F4717
split-complementary
#174F2B #47174F #4F171F
monochromatic
#07180D #092011 #174F2B #257E45 #33AE5F

Accessibility & contrast

On white

9.59
#174F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174F2B
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F2B#FFFFFF#000000##FFFFFF
##174F2B1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4828
Deuteranopia (green-blind)
#48432D
Tritanopia (blue-blind)
#014E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f2b;
/* rgb */ color: rgb(23, 79, 43);
/* oklch */ color: oklch(38.1% 0.084 151.8);
Tailwind
colors: {
  custom: {
    50: '#5c8164',
    500: '#174f2b',
    950: '#000000',
  },
}
SCSS
$custom: #174f2b;
$custom-light: #5c8164;
$custom-dark: #000000;
JSON
{
  "hex": "#174f2b",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 141.429,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.08425,
    "h": 151.8
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#174F2B
secondary
#863C6C
accent
#4AA9DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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