#177A2C#177A2C

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

Color values

HEX#177A2C
RGBrgb(23, 122, 44)
HSLhsl(133, 68%, 28%)
HSVhsv(133, 81%, 48%)
CMYKcmyk(81.1%, 0%, 63.9%, 52.2%)
CIE-LABlab(44.63, -44.38, 34.24)
CIE-LCHlch(44.63, 56.05, 142.35°)
OKLaboklab(50.8% -0.1195 0.0803)
OKLCHoklch(50.8% 0.144 146.1)
XYZxyz(7.7669, 14.2821, 4.7298)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A2C #7A1765
analogous
#337A17 #177A2C #177A5D
triadic
#177A2C #2C177A #7A2C17
tetradic
#177A2C #17337A #7A1765 #7A5D17
square
#177A2C #17337A #7A1765 #7A5D17
split-complementary
#177A2C #5D177A #7A1733
monochromatic
#051A09 #0D4719 #177A2C #21AD3F #33D956

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A2C#FFFFFF#000000##FFFFFF
##177A2C1.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)
#7C6E23
Deuteranopia (green-blind)
#716733
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a2c;
/* rgb */ color: rgb(23, 122, 44);
/* oklch */ color: oklch(50.8% 0.144 146.1);
Tailwind
colors: {
  custom: {
    50: '#67a168',
    500: '#177a2c',
    950: '#000000',
  },
}
SCSS
$custom: #177a2c;
$custom-light: #67a168;
$custom-dark: #000000;
JSON
{
  "hex": "#177a2c",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 132.727,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.14401,
    "h": 146.1
  },
  "luminance": 0.14283
}

Semantic roles & 50–950 ramp

primary
#177A2C
secondary
#AF3E97
accent
#3DC6EB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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