#177A2A#177A2A

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

Color values

HEX#177A2A
RGBrgb(23, 122, 42)
HSLhsl(132, 68%, 28%)
HSVhsv(132, 81%, 48%)
CMYKcmyk(81.1%, 0%, 65.6%, 52.2%)
CIE-LABlab(44.61, -44.64, 35.17)
CIE-LCHlch(44.61, 56.83, 141.76°)
OKLaboklab(50.78% -0.1203 0.0821)
OKLCHoklch(50.78% 0.146 145.7)
XYZxyz(7.7302, 14.2675, 4.5365)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A2A #7A1767
analogous
#357A17 #177A2A #177A5B
triadic
#177A2A #2A177A #7A2A17
tetradic
#177A2A #17357A #7A1767 #7A5B17
square
#177A2A #17357A #7A1767 #7A5B17
split-complementary
#177A2A #5B177A #7A1735
monochromatic
#051A09 #0D4718 #177A2A #21AD3C #33D953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A2A#FFFFFF#000000##FFFFFF
##177A2A1.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)
#7C6E21
Deuteranopia (green-blind)
#716731
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a2a;
/* rgb */ color: rgb(23, 122, 42);
/* oklch */ color: oklch(50.8% 0.146 145.7);
Tailwind
colors: {
  custom: {
    50: '#67a167',
    500: '#177a2a',
    950: '#000000',
  },
}
SCSS
$custom: #177a2a;
$custom-light: #67a167;
$custom-dark: #000000;
JSON
{
  "hex": "#177a2a",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 131.515,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50778,
    "c": 0.14566,
    "h": 145.7
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#177A2A
secondary
#AF3E99
accent
#3DCAEB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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