#177E31#177E31

#177E31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.145 H 146.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#177E31
RGBrgb(23, 126, 49)
HSLhsl(135, 69%, 29%)
HSVhsv(135, 82%, 49%)
CMYKcmyk(81.7%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.08, -45.14, 33.45)
CIE-LCHlch(46.08, 56.18, 143.46°)
OKLaboklab(52.02% -0.1214 0.0791)
OKLCHoklch(52.02% 0.145 146.9)
XYZxyz(8.3679, 15.3246, 5.4221)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E31 #7E1764
analogous
#307E17 #177E31 #177E65
triadic
#177E31 #31177E #7E3117
tetradic
#177E31 #17307E #7E1764 #7E6517
square
#177E31 #17307E #7E1764 #7E6517
split-complementary
#177E31 #65177E #7E1730
monochromatic
#051A0A #0E4A1D #177E31 #20B245 #35DA5F

Accessibility & contrast

On white

5.17
#177E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#177E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E31
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E31#FFFFFF#000000##FFFFFF
##177E311.005.174.075.17
#FFFFFF5.171.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#746A37
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e31;
/* rgb */ color: rgb(23, 126, 49);
/* oklch */ color: oklch(52.0% 0.145 146.9);
Tailwind
colors: {
  custom: {
    50: '#68a46c',
    500: '#177e31',
    950: '#000000',
  },
}
SCSS
$custom: #177e31;
$custom-light: #68a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#177e31",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 135.146,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.1449,
    "h": 146.9
  },
  "luminance": 0.15326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #177E31

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

Preview Lab → · Contrast checker → · Palette generator →

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