#177A28#177A28

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

Color values

HEX#177A28
RGBrgb(23, 122, 40)
HSLhsl(130, 68%, 28%)
HSVhsv(130, 81%, 48%)
CMYKcmyk(81.1%, 0%, 67.2%, 52.2%)
CIE-LABlab(44.59, -44.88, 36.09)
CIE-LCHlch(44.59, 57.59, 141.20°)
OKLaboklab(50.76% -0.121 0.0839)
OKLCHoklch(50.76% 0.147 145.3)
XYZxyz(7.6953, 14.2535, 4.3527)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A28 #7A1769
analogous
#377A17 #177A28 #177A59
triadic
#177A28 #28177A #7A2817
tetradic
#177A28 #17377A #7A1769 #7A5917
square
#177A28 #17377A #7A1769 #7A5917
split-complementary
#177A28 #59177A #7A1737
monochromatic
#051A08 #0D4717 #177A28 #21AD39 #33D94F

Accessibility & contrast

On white

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

On black

3.85
#177A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177A28#FFFFFF#000000##FFFFFF
##177A281.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#71672F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a28;
/* rgb */ color: rgb(23, 122, 40);
/* oklch */ color: oklch(50.8% 0.147 145.3);
Tailwind
colors: {
  custom: {
    50: '#67a166',
    500: '#177a28',
    950: '#000000',
  },
}
SCSS
$custom: #177a28;
$custom-light: #67a166;
$custom-dark: #000000;
JSON
{
  "hex": "#177a28",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 40
  },
  "hsl": {
    "h": 130.303,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50756,
    "c": 0.14725,
    "h": 145.3
  },
  "luminance": 0.14254
}

Semantic roles & 50–950 ramp

primary
#177A28
secondary
#AF3E9C
accent
#3DCDEB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A28

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

Preview Lab → · Contrast checker → · Palette generator →

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