#177A40#177A40

#177A40 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.126 H 151.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#177A40
RGBrgb(23, 122, 64)
HSLhsl(145, 68%, 28%)
HSVhsv(145, 81%, 48%)
CMYKcmyk(81.1%, 0%, 47.5%, 52.2%)
CIE-LABlab(44.90, -41.23, 24.09)
CIE-LCHlch(44.90, 47.75, 149.70°)
OKLaboklab(51.11% -0.1108 0.0592)
OKLCHoklch(51.11% 0.126 151.9)
XYZxyz(8.2376, 14.4704, 7.2084)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A40 #7A1751
analogous
#207A17 #177A40 #177A71
triadic
#177A40 #40177A #7A4017
tetradic
#177A40 #17207A #7A1751 #7A7117
square
#177A40 #17207A #7A1751 #7A7117
split-complementary
#177A40 #71177A #7A1720
monochromatic
#051A0E #0D4725 #177A40 #21AD5B #33D977

Accessibility & contrast

On white

5.39
#177A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#177A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A40
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A40#FFFFFF#000000##FFFFFF
##177A401.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a40;
/* rgb */ color: rgb(23, 122, 64);
/* oklch */ color: oklch(51.1% 0.126 151.9);
Tailwind
colors: {
  custom: {
    50: '#66a176',
    500: '#177a40',
    950: '#000000',
  },
}
SCSS
$custom: #177a40;
$custom-light: #66a176;
$custom-dark: #000000;
JSON
{
  "hex": "#177a40",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 144.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.12559,
    "h": 151.9
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#177A40
secondary
#AF3E80
accent
#3DA3EB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177A40

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

Preview Lab → · Contrast checker → · Palette generator →

#177A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva