#174E1B#174E1B

#174E1B is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.099 H 144.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#174E1B
RGBrgb(23, 78, 27)
HSLhsl(124, 54%, 20%)
HSVhsv(124, 71%, 31%)
CMYKcmyk(70.5%, 0%, 65.4%, 69.4%)
CIE-LABlab(28.67, -29.82, 24.54)
CIE-LCHlch(28.67, 38.62, 140.55°)
OKLaboklab(37.51% -0.0808 0.0578)
OKLCHoklch(37.51% 0.099 144.4)
XYZxyz(3.2754, 5.7097, 1.9662)
Luminance0.0571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E1B #4E174A
analogous
#2E4E17 #174E1B #174E37
triadic
#174E1B #1B174E #4E1B17
tetradic
#174E1B #172E4E #4E174A #4E3717
square
#174E1B #172E4E #4E174A #4E3717
split-complementary
#174E1B #37174E #4E172E
monochromatic
#071808 #091F0B #174E1B #257D2B #33AD3C

Accessibility & contrast

On white

9.80
#174E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#174E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E1B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E1B#FFFFFF#000000##FFFFFF
##174E1B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504616
Deuteranopia (green-blind)
#49421F
Tritanopia (blue-blind)
#0A4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e1b;
/* rgb */ color: rgb(23, 78, 27);
/* oklch */ color: oklch(37.5% 0.099 144.4);
Tailwind
colors: {
  custom: {
    50: '#5c8059',
    500: '#174e1b',
    950: '#000000',
  },
}
SCSS
$custom: #174e1b;
$custom-light: #5c8059;
$custom-dark: #000000;
JSON
{
  "hex": "#174e1b",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 124.364,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.09935,
    "h": 144.4
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

primary
#174E1B
secondary
#853C80
accent
#4AD3DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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