#177D17#177D17

#177D17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.162 H 142.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#177D17
RGBrgb(23, 125, 23)
HSLhsl(120, 69%, 29%)
HSVhsv(120, 82%, 49%)
CMYKcmyk(81.6%, 0%, 81.6%, 51%)
CIE-LABlab(45.51, -47.47, 43.85)
CIE-LCHlch(45.51, 64.63, 137.27°)
OKLaboklab(51.48% -0.1288 0.0979)
OKLCHoklch(51.48% 0.162 142.8)
XYZxyz(7.8411, 14.9103, 3.2752)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D17 #7D177D
analogous
#4A7D17 #177D17 #177D4A
triadic
#177D17 #17177D #7D1717
tetradic
#177D17 #174A7D #7D177D #7D4A17
square
#177D17 #174A7D #7D177D #7D4A17
split-complementary
#177D17 #4A177D #7D174A
monochromatic
#051A05 #0D490D #177D17 #21B121 #35DA35

Accessibility & contrast

On white

5.27
#177D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#177D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D17#FFFFFF#000000##FFFFFF
##177D171.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#00796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d17;
/* rgb */ color: rgb(23, 125, 23);
/* oklch */ color: oklch(51.5% 0.162 142.8);
Tailwind
colors: {
  custom: {
    50: '#69a45d',
    500: '#177d17',
    950: '#000000',
  },
}
SCSS
$custom: #177d17;
$custom-light: #69a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#177d17",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 120,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51477,
    "c": 0.16183,
    "h": 142.8
  },
  "luminance": 0.14911
}

Semantic roles & 50–950 ramp

primary
#177D17
secondary
#B23EB2
accent
#3CECEC
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #177D17

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

Preview Lab → · Contrast checker → · Palette generator →

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