#177A1A#177A1A

#177A1A is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.6% C 0.157 H 143.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#177A1A
RGBrgb(23, 122, 26)
HSLhsl(122, 68%, 28%)
HSVhsv(122, 81%, 48%)
CMYKcmyk(81.1%, 0%, 78.7%, 52.2%)
CIE-LABlab(44.48, -46.25, 41.81)
CIE-LCHlch(44.48, 62.35, 137.89°)
OKLaboklab(50.63% -0.1254 0.0941)
OKLCHoklch(50.63% 0.157 143.1)
XYZxyz(7.4989, 14.1749, 3.3179)
Luminance0.1418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A1A #7A1777
analogous
#457A17 #177A1A #177A4B
triadic
#177A1A #1A177A #7A1A17
tetradic
#177A1A #17457A #7A1777 #7A4B17
square
#177A1A #17457A #7A1777 #7A4B17
split-complementary
#177A1A #4B177A #7A1745
monochromatic
#051A05 #0D470F #177A1A #21AD25 #33D938

Accessibility & contrast

On white

5.48
#177A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177A1A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A1A#FFFFFF#000000##FFFFFF
##177A1A1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a1a;
/* rgb */ color: rgb(23, 122, 26);
/* oklch */ color: oklch(50.6% 0.157 143.1);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#177a1a',
    950: '#000000',
  },
}
SCSS
$custom: #177a1a;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#177a1a",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 26
  },
  "hsl": {
    "h": 121.818,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.15678,
    "h": 143.1
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#177A1A
secondary
#AF3EAC
accent
#3DE6EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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