#174E2B#174E2B

#174E2B is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.083 H 152.1°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#174E2B
RGBrgb(23, 78, 43)
HSLhsl(142, 54%, 20%)
HSVhsv(142, 71%, 31%)
CMYKcmyk(70.5%, 0%, 44.9%, 69.4%)
CIE-LABlab(28.92, -27.04, 15.59)
CIE-LCHlch(28.92, 31.21, 150.03°)
OKLaboklab(37.8% -0.073 0.0387)
OKLCHoklch(37.8% 0.083 152.1)
XYZxyz(3.5135, 5.8050, 3.2203)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E2B #4E173A
analogous
#1F4E17 #174E2B #174E46
triadic
#174E2B #2B174E #4E2B17
tetradic
#174E2B #171F4E #4E173A #4E4617
square
#174E2B #171F4E #4E173A #4E4617
split-complementary
#174E2B #46174E #4E171F
monochromatic
#07180D #091F11 #174E2B #257D45 #33AD5F

Accessibility & contrast

On white

9.72
#174E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#174E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E2B
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E2B#FFFFFF#000000##FFFFFF
##174E2B1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4729
Deuteranopia (green-blind)
#47422D
Tritanopia (blue-blind)
#024D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e2b;
/* rgb */ color: rgb(23, 78, 43);
/* oklch */ color: oklch(37.8% 0.083 152.1);
Tailwind
colors: {
  custom: {
    50: '#5c8064',
    500: '#174e2b',
    950: '#000000',
  },
}
SCSS
$custom: #174e2b;
$custom-light: #5c8064;
$custom-dark: #000000;
JSON
{
  "hex": "#174e2b",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 43
  },
  "hsl": {
    "h": 141.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37796,
    "c": 0.08266,
    "h": 152.1
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#174E2B
secondary
#853C6A
accent
#4AA8DE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #174E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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