#177A34#177A34

#177A34 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.137 H 148.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#177A34
RGBrgb(23, 122, 52)
HSLhsl(138, 68%, 28%)
HSVhsv(138, 81%, 48%)
CMYKcmyk(81.1%, 0%, 57.4%, 52.2%)
CIE-LABlab(44.73, -43.26, 30.33)
CIE-LCHlch(44.73, 52.83, 144.97°)
OKLaboklab(50.91% -0.1163 0.0725)
OKLCHoklch(50.91% 0.137 148)
XYZxyz(7.9321, 14.3482, 5.5996)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A34 #7A175D
analogous
#2B7A17 #177A34 #177A65
triadic
#177A34 #34177A #7A3417
tetradic
#177A34 #172B7A #7A175D #7A6517
square
#177A34 #172B7A #7A175D #7A6517
split-complementary
#177A34 #65177A #7A172B
monochromatic
#051A0B #0D471E #177A34 #21AD4A #33D963

Accessibility & contrast

On white

5.43
#177A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#177A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A34
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A34#FFFFFF#000000##FFFFFF
##177A341.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #177a34;
/* rgb */ color: rgb(23, 122, 52);
/* oklch */ color: oklch(50.9% 0.137 148.0);
Tailwind
colors: {
  custom: {
    50: '#67a16d',
    500: '#177a34',
    950: '#000000',
  },
}
SCSS
$custom: #177a34;
$custom-light: #67a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#177a34",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 137.576,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.13703,
    "h": 148
  },
  "luminance": 0.14349
}

Semantic roles & 50–950 ramp

primary
#177A34
secondary
#AF3E8E
accent
#3DB8EB
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177A34

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

Preview Lab → · Contrast checker → · Palette generator →

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