#177A2F#177A2F

#177A2F is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.141 H 146.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#177A2F
RGBrgb(23, 122, 47)
HSLhsl(135, 68%, 28%)
HSVhsv(135, 81%, 48%)
CMYKcmyk(81.1%, 0%, 61.5%, 52.2%)
CIE-LABlab(44.67, -43.98, 32.80)
CIE-LCHlch(44.67, 54.87, 143.29°)
OKLaboklab(50.84% -0.1183 0.0775)
OKLCHoklch(50.84% 0.141 146.8)
XYZxyz(7.8254, 14.3055, 5.0376)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A2F #7A1762
analogous
#317A17 #177A2F #177A60
triadic
#177A2F #2F177A #7A2F17
tetradic
#177A2F #17317A #7A1762 #7A6017
square
#177A2F #17317A #7A1762 #7A6017
split-complementary
#177A2F #60177A #7A1731
monochromatic
#051A0A #0D471B #177A2F #21AD43 #33D95B

Accessibility & contrast

On white

5.44
#177A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#177A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A2F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A2F#FFFFFF#000000##FFFFFF
##177A2F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a2f;
/* rgb */ color: rgb(23, 122, 47);
/* oklch */ color: oklch(50.8% 0.141 146.8);
Tailwind
colors: {
  custom: {
    50: '#67a16a',
    500: '#177a2f',
    950: '#000000',
  },
}
SCSS
$custom: #177a2f;
$custom-light: #67a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#177a2f",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 134.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5084,
    "c": 0.14148,
    "h": 146.8
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#177A2F
secondary
#AF3E94
accent
#3DC1EB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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