#177F31#177F31

#177F31 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.146 H 146.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#177F31
RGBrgb(23, 127, 49)
HSLhsl(135, 69%, 29%)
HSVhsv(135, 82%, 50%)
CMYKcmyk(81.9%, 0%, 61.4%, 50.2%)
CIE-LABlab(46.42, -45.49, 33.85)
CIE-LCHlch(46.42, 56.70, 143.35°)
OKLaboklab(52.3% -0.1224 0.08)
OKLCHoklch(52.3% 0.146 146.8)
XYZxyz(8.4964, 15.5816, 5.4649)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F31 #7F1765
analogous
#317F17 #177F31 #177F65
triadic
#177F31 #31177F #7F3117
tetradic
#177F31 #17317F #7F1765 #7F6517
square
#177F31 #17317F #7F1765 #7F6517
split-complementary
#177F31 #65177F #7F1731
monochromatic
#051A0A #0E4B1D #177F31 #20B345 #36DB5F

Accessibility & contrast

On white

5.10
#177F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#177F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F31#FFFFFF#000000##FFFFFF
##177F311.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f31;
/* rgb */ color: rgb(23, 127, 49);
/* oklch */ color: oklch(52.3% 0.146 146.8);
Tailwind
colors: {
  custom: {
    50: '#68a56c',
    500: '#177f31',
    950: '#000000',
  },
}
SCSS
$custom: #177f31;
$custom-light: #68a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#177f31",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 135,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.14617,
    "h": 146.8
  },
  "luminance": 0.15583
}

Semantic roles & 50–950 ramp

primary
#177F31
secondary
#B43E96
accent
#3CC0EC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177F31

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

Preview Lab → · Contrast checker → · Palette generator →

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