#177A45#177A45

#177A45 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.121 H 153.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#177A45
RGBrgb(23, 122, 69)
HSLhsl(148, 68%, 28%)
HSVhsv(148, 81%, 48%)
CMYKcmyk(81.1%, 0%, 43.4%, 52.2%)
CIE-LABlab(44.98, -40.27, 21.41)
CIE-LCHlch(44.98, 45.60, 152.00°)
OKLaboklab(51.2% -0.1084 0.0531)
OKLCHoklch(51.2% 0.121 153.9)
XYZxyz(8.3863, 14.5299, 7.9916)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A45 #7A174C
analogous
#1A7A17 #177A45 #177A76
triadic
#177A45 #45177A #7A4517
tetradic
#177A45 #171A7A #7A174C #7A7617
square
#177A45 #171A7A #7A174C #7A7617
split-complementary
#177A45 #76177A #7A171A
monochromatic
#051A0F #0D4728 #177A45 #21AD62 #33D980

Accessibility & contrast

On white

5.38
#177A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#177A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A45
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A45#FFFFFF#000000##FFFFFF
##177A451.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F41
Deuteranopia (green-blind)
#6E6749
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a45;
/* rgb */ color: rgb(23, 122, 69);
/* oklch */ color: oklch(51.2% 0.121 153.9);
Tailwind
colors: {
  custom: {
    50: '#66a179',
    500: '#177a45',
    950: '#000000',
  },
}
SCSS
$custom: #177a45;
$custom-light: #66a179;
$custom-dark: #000000;
JSON
{
  "hex": "#177a45",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 147.879,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.12066,
    "h": 153.9
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#177A45
secondary
#AF3E7A
accent
#3D9AEB
background
#F6FAF7
surface
#EBF3ED
border
#C6CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #177A45

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

Preview Lab → · Contrast checker → · Palette generator →

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