#174F28#174F28

#174F28 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.088 H 150.0°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#174F28
RGBrgb(23, 79, 40)
HSLhsl(138, 55%, 20%)
HSVhsv(138, 71%, 31%)
CMYKcmyk(70.9%, 0%, 49.4%, 69%)
CIE-LABlab(29.23, -28.09, 17.81)
CIE-LCHlch(29.23, 33.26, 147.63°)
OKLaboklab(38.04% -0.0758 0.0437)
OKLCHoklch(38.04% 0.088 150)
XYZxyz(3.5321, 5.9270, 2.9649)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174F28 #4F173E
analogous
#224F17 #174F28 #174F44
triadic
#174F28 #28174F #4F2817
tetradic
#174F28 #17224F #4F173E #4F4417
square
#174F28 #17224F #4F173E #4F4417
split-complementary
#174F28 #44174F #4F1722
monochromatic
#07180C #092010 #174F28 #257E40 #33AE58

Accessibility & contrast

On white

9.61
#174F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#174F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174F28
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174F28#FFFFFF#000000##FFFFFF
##174F281.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504825
Deuteranopia (green-blind)
#48432B
Tritanopia (blue-blind)
#034E46
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #174f28;
/* rgb */ color: rgb(23, 79, 40);
/* oklch */ color: oklch(38.0% 0.088 150.0);
Tailwind
colors: {
  custom: {
    50: '#5c8162',
    500: '#174f28',
    950: '#000000',
  },
}
SCSS
$custom: #174f28;
$custom-light: #5c8162;
$custom-dark: #000000;
JSON
{
  "hex": "#174f28",
  "rgb": {
    "r": 23,
    "g": 79,
    "b": 40
  },
  "hsl": {
    "h": 138.214,
    "s": 54.902,
    "l": 20
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.08751,
    "h": 150
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#174F28
secondary
#863C70
accent
#4AB1DE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #174F28

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

Preview Lab → · Contrast checker → · Palette generator →

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