#177A19#177A19

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

Color values

HEX#177A19
RGBrgb(23, 122, 25)
HSLhsl(121, 68%, 28%)
HSVhsv(121, 81%, 48%)
CMYKcmyk(81.1%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.48, -46.33, 42.17)
CIE-LCHlch(44.48, 62.65, 137.69°)
OKLaboklab(50.62% -0.1257 0.0947)
OKLCHoklch(50.62% 0.157 143)
XYZxyz(7.4879, 14.1705, 3.2601)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A19 #7A1778
analogous
#467A17 #177A19 #177A4A
triadic
#177A19 #19177A #7A1917
tetradic
#177A19 #17467A #7A1778 #7A4A17
square
#177A19 #17467A #7A1778 #7A4A17
split-complementary
#177A19 #4A177A #7A1746
monochromatic
#051A05 #0D470E #177A19 #21AD24 #33D936

Accessibility & contrast

On white

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

On black

3.83
#177A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177A19#FFFFFF#000000##FFFFFF
##177A191.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177a19;
/* rgb */ color: rgb(23, 122, 25);
/* oklch */ color: oklch(50.6% 0.157 143.0);
Tailwind
colors: {
  custom: {
    50: '#68a15e',
    500: '#177a19',
    950: '#000000',
  },
}
SCSS
$custom: #177a19;
$custom-light: #68a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#177a19",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 121.212,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.15734,
    "h": 143
  },
  "luminance": 0.14171
}

Semantic roles & 50–950 ramp

primary
#177A19
secondary
#AF3EAD
accent
#3DE8EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A19

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

Preview Lab → · Contrast checker → · Palette generator →

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