#174E18#174E18

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

Color values

HEX#174E18
RGBrgb(23, 78, 24)
HSLhsl(121, 54%, 20%)
HSVhsv(121, 71%, 31%)
CMYKcmyk(70.5%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.63, -30.23, 26.08)
CIE-LCHlch(28.63, 39.92, 139.22°)
OKLaboklab(37.47% -0.082 0.0608)
OKLCHoklch(37.47% 0.102 143.5)
XYZxyz(3.2424, 5.6966, 1.7926)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E18 #4E174D
analogous
#324E17 #174E18 #174E34
triadic
#174E18 #18174E #4E1817
tetradic
#174E18 #17324E #4E174D #4E3417
square
#174E18 #17324E #4E174D #4E3417
split-complementary
#174E18 #34174E #4E1732
monochromatic
#071807 #091F09 #174E18 #257D27 #33AD35

Accessibility & contrast

On white

9.82
#174E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #174E18
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E18#FFFFFF#000000##FFFFFF
##174E181.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#0B4C43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e18;
/* rgb */ color: rgb(23, 78, 24);
/* oklch */ color: oklch(37.5% 0.102 143.5);
Tailwind
colors: {
  custom: {
    50: '#5c8057',
    500: '#174e18',
    950: '#000000',
  },
}
SCSS
$custom: #174e18;
$custom-light: #5c8057;
$custom-dark: #000000;
JSON
{
  "hex": "#174e18",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 121.091,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.10209,
    "h": 143.5
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#174E18
secondary
#853C84
accent
#4ADBDE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #174E18

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

Preview Lab → · Contrast checker → · Palette generator →

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