#177A23#177A23

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

Color values

HEX#177A23
RGBrgb(23, 122, 35)
HSLhsl(127, 68%, 28%)
HSVhsv(127, 81%, 48%)
CMYKcmyk(81.1%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.55, -45.43, 38.28)
CIE-LCHlch(44.55, 59.41, 139.88°)
OKLaboklab(50.7% -0.1227 0.0879)
OKLCHoklch(50.7% 0.151 144.4)
XYZxyz(7.6157, 14.2217, 3.9335)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A23 #7A176E
analogous
#3C7A17 #177A23 #177A54
triadic
#177A23 #23177A #7A2317
tetradic
#177A23 #173C7A #7A176E #7A5417
square
#177A23 #173C7A #7A176E #7A5417
split-complementary
#177A23 #54177A #7A173C
monochromatic
#051A07 #0D4714 #177A23 #21AD32 #33D947

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A23#FFFFFF#000000##FFFFFF
##177A231.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)
#7C6E16
Deuteranopia (green-blind)
#72662B
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a23;
/* rgb */ color: rgb(23, 122, 35);
/* oklch */ color: oklch(50.7% 0.151 144.4);
Tailwind
colors: {
  custom: {
    50: '#67a163',
    500: '#177a23',
    950: '#000000',
  },
}
SCSS
$custom: #177a23;
$custom-light: #67a163;
$custom-dark: #000000;
JSON
{
  "hex": "#177a23",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 127.273,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50704,
    "c": 0.15099,
    "h": 144.4
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#177A23
secondary
#AF3EA1
accent
#3DD6EB
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #177A23

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

Preview Lab → · Contrast checker → · Palette generator →

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