#177B17#177B17

#177B17 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.160 H 142.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#177B17
RGBrgb(23, 123, 23)
HSLhsl(120, 68%, 29%)
HSVhsv(120, 81%, 48%)
CMYKcmyk(81.3%, 0%, 81.3%, 51.8%)
CIE-LABlab(44.81, -46.81, 43.19)
CIE-LCHlch(44.81, 63.69, 137.31°)
OKLaboklab(50.9% -0.1271 0.0965)
OKLCHoklch(50.9% 0.16 142.8)
XYZxyz(7.5905, 14.4090, 3.1916)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B17 #7B177B
analogous
#497B17 #177B17 #177B49
triadic
#177B17 #17177B #7B1717
tetradic
#177B17 #17497B #7B177B #7B4917
square
#177B17 #17497B #7B177B #7B4917
split-complementary
#177B17 #49177B #7B1749
monochromatic
#051A05 #0D470D #177B17 #21AF21 #33D933

Accessibility & contrast

On white

5.41
#177B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#177B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B17
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B17#FFFFFF#000000##FFFFFF
##177B171.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#007768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177b17;
/* rgb */ color: rgb(23, 123, 23);
/* oklch */ color: oklch(50.9% 0.160 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a25d',
    500: '#177b17',
    950: '#000000',
  },
}
SCSS
$custom: #177b17;
$custom-light: #68a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#177b17",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.15956,
    "h": 142.8
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#177B17
secondary
#B03EB0
accent
#3CEBEB
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #177B17

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

Preview Lab → · Contrast checker → · Palette generator →

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