#174E20#174E20

#174E20 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.6% C 0.094 H 146.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#174E20
RGBrgb(23, 78, 32)
HSLhsl(130, 54%, 20%)
HSVhsv(130, 71%, 31%)
CMYKcmyk(70.5%, 0%, 59%, 69.4%)
CIE-LABlab(28.73, -29.07, 21.86)
CIE-LCHlch(28.73, 36.38, 143.06°)
OKLaboklab(37.59% -0.0785 0.0524)
OKLCHoklch(37.59% 0.094 146.3)
XYZxyz(3.3382, 5.7349, 2.2972)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#174E20 #4E1745
analogous
#2A4E17 #174E20 #174E3B
triadic
#174E20 #20174E #4E2017
tetradic
#174E20 #172A4E #4E1745 #4E3B17
square
#174E20 #172A4E #4E1745 #4E3B17
split-complementary
#174E20 #3B174E #4E172A
monochromatic
#07180A #091F0D #174E20 #257D33 #33AD47

Accessibility & contrast

On white

9.78
#174E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#174E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #174E20
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##174E20#FFFFFF#000000##FFFFFF
##174E201.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F471C
Deuteranopia (green-blind)
#484223
Tritanopia (blue-blind)
#084C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #174e20;
/* rgb */ color: rgb(23, 78, 32);
/* oklch */ color: oklch(37.6% 0.094 146.3);
Tailwind
colors: {
  custom: {
    50: '#5c805d',
    500: '#174e20',
    950: '#000000',
  },
}
SCSS
$custom: #174e20;
$custom-light: #5c805d;
$custom-dark: #000000;
JSON
{
  "hex": "#174e20",
  "rgb": {
    "r": 23,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 129.818,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.09443,
    "h": 146.3
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#174E20
secondary
#853C79
accent
#4AC6DE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #174E20

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

Preview Lab → · Contrast checker → · Palette generator →

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