#177D31#177D31

#177D31 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.144 H 147.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#177D31
RGBrgb(23, 125, 49)
HSLhsl(135, 69%, 29%)
HSVhsv(135, 82%, 49%)
CMYKcmyk(81.6%, 0%, 60.8%, 51%)
CIE-LABlab(45.73, -44.78, 33.04)
CIE-LCHlch(45.73, 55.65, 143.58°)
OKLaboklab(51.73% -0.1204 0.0782)
OKLCHoklch(51.73% 0.144 147)
XYZxyz(8.2407, 15.0701, 5.3797)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D31 #7D1763
analogous
#307D17 #177D31 #177D64
triadic
#177D31 #31177D #7D3117
tetradic
#177D31 #17307D #7D1763 #7D6417
square
#177D31 #17307D #7D1763 #7D6417
split-complementary
#177D31 #64177D #7D1730
monochromatic
#051A0A #0D491D #177D31 #21B145 #35DA5F

Accessibility & contrast

On white

5.23
#177D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#177D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D31
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D31#FFFFFF#000000##FFFFFF
##177D311.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7129
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d31;
/* rgb */ color: rgb(23, 125, 49);
/* oklch */ color: oklch(51.7% 0.144 147.0);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#177d31',
    950: '#000000',
  },
}
SCSS
$custom: #177d31;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#177d31",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 135.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51729,
    "c": 0.1436,
    "h": 147
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#177D31
secondary
#B23E94
accent
#3CBFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177D31

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

Preview Lab → · Contrast checker → · Palette generator →

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