#177A2B#177A2B

#177A2B is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.145 H 145.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#177A2B
RGBrgb(23, 122, 43)
HSLhsl(132, 68%, 28%)
HSVhsv(132, 81%, 48%)
CMYKcmyk(81.1%, 0%, 64.8%, 52.2%)
CIE-LABlab(44.62, -44.51, 34.71)
CIE-LCHlch(44.62, 56.44, 142.06°)
OKLaboklab(50.79% -0.1199 0.0813)
OKLCHoklch(50.79% 0.145 145.9)
XYZxyz(7.7484, 14.2747, 4.6320)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A2B #7A1766
analogous
#347A17 #177A2B #177A5C
triadic
#177A2B #2B177A #7A2B17
tetradic
#177A2B #17347A #7A1766 #7A5C17
square
#177A2B #17347A #7A1766 #7A5C17
split-complementary
#177A2B #5C177A #7A1734
monochromatic
#051A09 #0D4719 #177A2B #21AD3D #33D954

Accessibility & contrast

On white

5.45
#177A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#177A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A2B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A2B#FFFFFF#000000##FFFFFF
##177A2B1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E22
Deuteranopia (green-blind)
#716732
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a2b;
/* rgb */ color: rgb(23, 122, 43);
/* oklch */ color: oklch(50.8% 0.145 145.9);
Tailwind
colors: {
  custom: {
    50: '#67a168',
    500: '#177a2b',
    950: '#000000',
  },
}
SCSS
$custom: #177a2b;
$custom-light: #67a168;
$custom-dark: #000000;
JSON
{
  "hex": "#177a2b",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 132.121,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5079,
    "c": 0.14484,
    "h": 145.9
  },
  "luminance": 0.14276
}

Semantic roles & 50–950 ramp

primary
#177A2B
secondary
#AF3E98
accent
#3DC8EB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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