#174E28#174E28

#174E28 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.7% C 0.086 H 150.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#174E28
RGBrgb(23, 78, 40)
HSLhsl(139, 54%, 20%)
HSVhsv(139, 71%, 31%)
CMYKcmyk(70.5%, 0%, 48.7%, 69.4%)
CIE-LABlab(28.86, -27.65, 17.34)
CIE-LCHlch(28.86, 32.63, 147.91°)
OKLaboklab(37.73% -0.0746 0.0427)
OKLCHoklch(37.73% 0.086 150.2)
XYZxyz(3.4605, 5.7838, 2.9411)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E28 #4E173D
analogous
#224E17 #174E28 #174E43
triadic
#174E28 #28174E #4E2817
tetradic
#174E28 #17224E #4E173D #4E4317
square
#174E28 #17224E #4E173D #4E4317
split-complementary
#174E28 #43174E #4E1722
monochromatic
#07180C #091F10 #174E28 #257D40 #33AD58

Accessibility & contrast

On white

9.74
#174E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174E28
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E28#FFFFFF#000000##FFFFFF
##174E281.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4725
Deuteranopia (green-blind)
#47422B
Tritanopia (blue-blind)
#044D45
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e28;
/* rgb */ color: rgb(23, 78, 40);
/* oklch */ color: oklch(37.7% 0.086 150.2);
Tailwind
colors: {
  custom: {
    50: '#5c8062',
    500: '#174e28',
    950: '#000000',
  },
}
SCSS
$custom: #174e28;
$custom-light: #5c8062;
$custom-dark: #000000;
JSON
{
  "hex": "#174e28",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 40
  },
  "hsl": {
    "h": 138.545,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.08594,
    "h": 150.2
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#174E28
secondary
#853C6E
accent
#4AB0DE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174E28

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

Preview Lab → · Contrast checker → · Palette generator →

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