#177A18#177A18

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

Color values

HEX#177A18
RGBrgb(23, 122, 24)
HSLhsl(121, 68%, 28%)
HSVhsv(121, 81%, 48%)
CMYKcmyk(81.1%, 0%, 80.3%, 52.2%)
CIE-LABlab(44.47, -46.41, 42.51)
CIE-LCHlch(44.47, 62.93, 137.51°)
OKLaboklab(50.61% -0.1259 0.0953)
OKLCHoklch(50.61% 0.158 142.9)
XYZxyz(7.4773, 14.1663, 3.2043)
Luminance0.1417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A18 #7A1779
analogous
#477A17 #177A18 #177A49
triadic
#177A18 #18177A #7A1817
tetradic
#177A18 #17477A #7A1779 #7A4917
square
#177A18 #17477A #7A1779 #7A4917
split-complementary
#177A18 #49177A #7A1747
monochromatic
#051A05 #0D470E #177A18 #21AD22 #33D935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #177a18;
/* rgb */ color: rgb(23, 122, 24);
/* oklch */ color: oklch(50.6% 0.158 142.9);
Tailwind
colors: {
  custom: {
    50: '#68a15d',
    500: '#177a18',
    950: '#000000',
  },
}
SCSS
$custom: #177a18;
$custom-light: #68a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#177a18",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 24
  },
  "hsl": {
    "h": 120.606,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50613,
    "c": 0.15788,
    "h": 142.9
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#177A18
secondary
#AF3EAE
accent
#3DE9EB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177A18

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

Preview Lab → · Contrast checker → · Palette generator →

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