#174A26#174A26

#174A26 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.082 H 150.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#174A26
RGBrgb(23, 74, 38)
HSLhsl(138, 53%, 19%)
HSVhsv(138, 69%, 29%)
CMYKcmyk(68.9%, 0%, 48.6%, 71%)
CIE-LABlab(27.35, -26.22, 16.60)
CIE-LCHlch(27.35, 31.04, 147.66°)
OKLaboklab(36.48% -0.0708 0.0409)
OKLCHoklch(36.48% 0.082 150)
XYZxyz(3.1517, 5.2193, 2.6747)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174A26 #4A173B
analogous
#224A17 #174A26 #174A40
triadic
#174A26 #26174A #4A2617
tetradic
#174A26 #17224A #4A173B #4A4017
square
#174A26 #17224A #4A173B #4A4017
split-complementary
#174A26 #40174A #4A1722
monochromatic
#07170C #081B0E #174A26 #26793E #34A756

Accessibility & contrast

On white

10.27
#174A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174A26
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174A26#FFFFFF#000000##FFFFFF
##174A261.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4323
Deuteranopia (green-blind)
#443F28
Tritanopia (blue-blind)
#074941
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #174a26;
/* rgb */ color: rgb(23, 74, 38);
/* oklch */ color: oklch(36.5% 0.082 150.0);
Tailwind
colors: {
  custom: {
    50: '#5b7d61',
    500: '#174a26',
    950: '#000000',
  },
}
SCSS
$custom: #174a26;
$custom-light: #5b7d61;
$custom-dark: #000000;
JSON
{
  "hex": "#174a26",
  "rgb": {
    "r": 23,
    "g": 74,
    "b": 38
  },
  "hsl": {
    "h": 137.647,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36479,
    "c": 0.08177,
    "h": 150
  },
  "luminance": 0.0522
}

Semantic roles & 50–950 ramp

primary
#174A26
secondary
#813C6D
accent
#4CB2DC
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040905
muted
#797B79

Preview Lab

Preview with #174A26

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

Preview Lab → · Contrast checker → · Palette generator →

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