#177A22#177A22

#177A22 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.152 H 144.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#177A22
RGBrgb(23, 122, 34)
HSLhsl(127, 68%, 28%)
HSVhsv(127, 81%, 48%)
CMYKcmyk(81.1%, 0%, 72.1%, 52.2%)
CIE-LABlab(44.54, -45.53, 38.70)
CIE-LCHlch(44.54, 59.76, 139.64°)
OKLaboklab(50.69% -0.1231 0.0887)
OKLCHoklch(50.69% 0.152 144.2)
XYZxyz(7.6011, 14.2158, 3.8564)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A22 #7A176F
analogous
#3D7A17 #177A22 #177A53
triadic
#177A22 #22177A #7A2217
tetradic
#177A22 #173D7A #7A176F #7A5317
square
#177A22 #173D7A #7A176F #7A5317
split-complementary
#177A22 #53177A #7A173D
monochromatic
#051A07 #0D4714 #177A22 #21AD30 #33D945

Accessibility & contrast

On white

5.46
#177A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#177A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A22
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A22#FFFFFF#000000##FFFFFF
##177A221.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#72662B
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a22;
/* rgb */ color: rgb(23, 122, 34);
/* oklch */ color: oklch(50.7% 0.152 144.2);
Tailwind
colors: {
  custom: {
    50: '#68a162',
    500: '#177a22',
    950: '#000000',
  },
}
SCSS
$custom: #177a22;
$custom-light: #68a162;
$custom-dark: #000000;
JSON
{
  "hex": "#177a22",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 126.667,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50694,
    "c": 0.15169,
    "h": 144.2
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#177A22
secondary
#AF3EA2
accent
#3DD8EB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177A22

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

Preview Lab → · Contrast checker → · Palette generator →

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