#177A17#177A17

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

Color values

HEX#177A17
RGBrgb(23, 122, 23)
HSLhsl(120, 68%, 28%)
HSVhsv(120, 81%, 48%)
CMYKcmyk(81.1%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.46, -46.48, 42.85)
CIE-LCHlch(44.46, 63.22, 137.33°)
OKLaboklab(50.61% -0.1262 0.0958)
OKLCHoklch(50.61% 0.158 142.8)
XYZxyz(7.4671, 14.1622, 3.1505)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A17 #7A177A
analogous
#487A17 #177A17 #177A48
triadic
#177A17 #17177A #7A1717
tetradic
#177A17 #17487A #7A177A #7A4817
square
#177A17 #17487A #7A177A #7A4817
split-complementary
#177A17 #48177A #7A1748
monochromatic
#051A05 #0D470D #177A17 #21AD21 #33D933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A17#FFFFFF#000000##FFFFFF
##177A171.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)
#7D6E00
Deuteranopia (green-blind)
#726623
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a17;
/* rgb */ color: rgb(23, 122, 23);
/* oklch */ color: oklch(50.6% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#177a17',
    950: '#000000',
  },
}
SCSS
$custom: #177a17;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#177a17",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50606,
    "c": 0.15842,
    "h": 142.8
  },
  "luminance": 0.14163
}

Semantic roles & 50–950 ramp

primary
#177A17
secondary
#AF3EAF
accent
#3DEBEB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #177A17

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

Preview Lab → · Contrast checker → · Palette generator →

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