#177B42#177B42

#177B42 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.125 H 152.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#177B42
RGBrgb(23, 123, 66)
HSLhsl(146, 68%, 29%)
HSVhsv(146, 81%, 48%)
CMYKcmyk(81.3%, 0%, 46.3%, 51.8%)
CIE-LABlab(45.28, -41.24, 23.47)
CIE-LCHlch(45.28, 47.45, 150.36°)
OKLaboklab(51.43% -0.1108 0.0578)
OKLCHoklch(51.43% 0.125 152.5)
XYZxyz(8.4189, 14.7404, 7.5547)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B42 #7B1750
analogous
#1E7B17 #177B42 #177B74
triadic
#177B42 #42177B #7B4217
tetradic
#177B42 #171E7B #7B1750 #7B7417
square
#177B42 #171E7B #7B1750 #7B7417
split-complementary
#177B42 #74177B #7B171E
monochromatic
#051A0E #0D4726 #177B42 #21AF5E #33D97B

Accessibility & contrast

On white

5.32
#177B42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#177B42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B42
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B42#FFFFFF#000000##FFFFFF
##177B421.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703E
Deuteranopia (green-blind)
#706846
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #177b42;
/* rgb */ color: rgb(23, 123, 66);
/* oklch */ color: oklch(51.4% 0.125 152.5);
Tailwind
colors: {
  custom: {
    50: '#66a277',
    500: '#177b42',
    950: '#000000',
  },
}
SCSS
$custom: #177b42;
$custom-light: #66a277;
$custom-dark: #000000;
JSON
{
  "hex": "#177b42",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 66
  },
  "hsl": {
    "h": 145.8,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.12501,
    "h": 152.5
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#177B42
secondary
#B03E7F
accent
#3CA0EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177B42

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

Preview Lab → · Contrast checker → · Palette generator →

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