#177917#177917

#177917 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.157 H 142.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#177917
RGBrgb(23, 121, 23)
HSLhsl(120, 68%, 28%)
HSVhsv(120, 81%, 47%)
CMYKcmyk(81%, 0%, 81%, 52.5%)
CIE-LABlab(44.12, -46.15, 42.51)
CIE-LCHlch(44.12, 62.74, 137.35°)
OKLaboklab(50.32% -0.1252 0.0951)
OKLCHoklch(50.32% 0.157 142.8)
XYZxyz(7.3449, 13.9179, 3.1098)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177917 #791779
analogous
#487917 #177917 #177948
triadic
#177917 #171779 #791717
tetradic
#177917 #174879 #791779 #794817
square
#177917 #174879 #791779 #794817
split-complementary
#177917 #481779 #791748
monochromatic
#051A05 #0D460D #177917 #21AC21 #32D832

Accessibility & contrast

On white

5.55
#177917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#177917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177917
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177917#FFFFFF#000000##FFFFFF
##1779171.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #177917;
/* rgb */ color: rgb(23, 121, 23);
/* oklch */ color: oklch(50.3% 0.157 142.8);
Tailwind
colors: {
  custom: {
    50: '#68a15c',
    500: '#177917',
    950: '#000000',
  },
}
SCSS
$custom: #177917;
$custom-light: #68a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#177917",
  "rgb": {
    "r": 23,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.15727,
    "h": 142.8
  },
  "luminance": 0.13919
}

Semantic roles & 50–950 ramp

primary
#177917
secondary
#AE3EAE
accent
#3DEBEB
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F04
muted
#7A7F79

Preview Lab

Preview with #177917

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

Preview Lab → · Contrast checker → · Palette generator →

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