#174A23#174A23

#174A23 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.085 H 148.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#174A23
RGBrgb(23, 74, 35)
HSLhsl(134, 53%, 19%)
HSVhsv(134, 69%, 29%)
CMYKcmyk(68.9%, 0%, 52.7%, 71%)
CIE-LABlab(27.30, -26.79, 18.34)
CIE-LCHlch(27.30, 32.47, 145.60°)
OKLaboklab(36.42% -0.0724 0.0447)
OKLCHoklch(36.42% 0.085 148.3)
XYZxyz(3.1053, 5.2008, 2.4300)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A23 #4A173E
analogous
#254A17 #174A23 #174A3D
triadic
#174A23 #23174A #4A2317
tetradic
#174A23 #17254A #4A173E #4A3D17
square
#174A23 #17254A #4A173E #4A3D17
split-complementary
#174A23 #3D174A #4A1725
monochromatic
#07170B #081B0D #174A23 #267939 #34A74F

Accessibility & contrast

On white

10.29
#174A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#174A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174A23
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A23#FFFFFF#000000##FFFFFF
##174A231.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4320
Deuteranopia (green-blind)
#443F26
Tritanopia (blue-blind)
#084841
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #174a23;
/* rgb */ color: rgb(23, 74, 35);
/* oklch */ color: oklch(36.4% 0.085 148.3);
Tailwind
colors: {
  custom: {
    50: '#5b7d5e',
    500: '#174a23',
    950: '#000000',
  },
}
SCSS
$custom: #174a23;
$custom-light: #5b7d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#174a23",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 35
  },
  "hsl": {
    "h": 134.118,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.08507,
    "h": 148.3
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#174A23
secondary
#813C71
accent
#4CBADC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #174A23

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

Preview Lab → · Contrast checker → · Palette generator →

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