#177A42#177A42

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

Color values

HEX#177A42
RGBrgb(23, 122, 66)
HSLhsl(146, 68%, 28%)
HSVhsv(146, 81%, 48%)
CMYKcmyk(81.1%, 0%, 45.9%, 52.2%)
CIE-LABlab(44.93, -40.85, 23.02)
CIE-LCHlch(44.93, 46.89, 150.60°)
OKLaboklab(51.15% -0.1098 0.0568)
OKLCHoklch(51.15% 0.124 152.7)
XYZxyz(8.2955, 14.4936, 7.5135)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A42 #7A174F
analogous
#1D7A17 #177A42 #177A73
triadic
#177A42 #42177A #7A4217
tetradic
#177A42 #171D7A #7A174F #7A7317
square
#177A42 #171D7A #7A174F #7A7317
split-complementary
#177A42 #73177A #7A171D
monochromatic
#051A0E #0D4726 #177A42 #21AD5E #33D97B

Accessibility & contrast

On white

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

On black

3.90
#177A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177A42#FFFFFF#000000##FFFFFF
##177A421.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177a42;
/* rgb */ color: rgb(23, 122, 66);
/* oklch */ color: oklch(51.1% 0.124 152.7);
Tailwind
colors: {
  custom: {
    50: '#66a177',
    500: '#177a42',
    950: '#000000',
  },
}
SCSS
$custom: #177a42;
$custom-light: #66a177;
$custom-dark: #000000;
JSON
{
  "hex": "#177a42",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 146.061,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.12363,
    "h": 152.7
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#177A42
secondary
#AF3E7E
accent
#3D9FEB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177A42

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

Preview Lab → · Contrast checker → · Palette generator →

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