#177717#177717

#177717 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.7% C 0.155 H 142.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#177717
RGBrgb(23, 119, 23)
HSLhsl(120, 68%, 28%)
HSVhsv(120, 81%, 47%)
CMYKcmyk(80.7%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.41, -45.48, 41.83)
CIE-LCHlch(43.41, 61.79, 137.39°)
OKLaboklab(49.73% -0.1234 0.0937)
OKLCHoklch(49.73% 0.155 142.8)
XYZxyz(7.1044, 13.4368, 3.0296)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177717 #771777
analogous
#477717 #177717 #177747
triadic
#177717 #171777 #771717
tetradic
#177717 #174777 #771777 #774717
square
#177717 #174777 #771777 #774717
split-complementary
#177717 #471777 #771747
monochromatic
#051A05 #0D440D #177717 #21AA21 #31D731

Accessibility & contrast

On white

5.69
#177717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#177717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177717
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177717#FFFFFF#000000##FFFFFF
##1777171.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#6F6422
Tritanopia (blue-blind)
#007365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #177717;
/* rgb */ color: rgb(23, 119, 23);
/* oklch */ color: oklch(49.7% 0.155 142.8);
Tailwind
colors: {
  custom: {
    50: '#679f5c',
    500: '#177717',
    950: '#000000',
  },
}
SCSS
$custom: #177717;
$custom-light: #679f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#177717",
  "rgb": {
    "r": 23,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49732,
    "c": 0.15497,
    "h": 142.8
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#177717
secondary
#AC3EAC
accent
#3DEAEA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #177717

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

Preview Lab → · Contrast checker → · Palette generator →

#177717 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva