#177D40#177D40

#177D40 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.130 H 151.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#177D40
RGBrgb(23, 125, 64)
HSLhsl(144, 69%, 29%)
HSVhsv(144, 82%, 49%)
CMYKcmyk(81.6%, 0%, 48.8%, 51%)
CIE-LABlab(45.93, -42.38, 25.41)
CIE-LCHlch(45.93, 49.41, 149.06°)
OKLaboklab(51.96% -0.1138 0.0622)
OKLCHoklch(51.96% 0.13 151.4)
XYZxyz(8.6116, 15.2185, 7.3331)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D40 #7D1754
analogous
#217D17 #177D40 #177D73
triadic
#177D40 #40177D #7D4017
tetradic
#177D40 #17217D #7D1754 #7D7317
square
#177D40 #17217D #7D1754 #7D7317
split-complementary
#177D40 #73177D #7D1721
monochromatic
#051A0D #0D4926 #177D40 #21B15A #35DA77

Accessibility & contrast

On white

5.19
#177D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#177D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D40
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D40#FFFFFF#000000##FFFFFF
##177D401.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177d40;
/* rgb */ color: rgb(23, 125, 64);
/* oklch */ color: oklch(52.0% 0.130 151.4);
Tailwind
colors: {
  custom: {
    50: '#67a476',
    500: '#177d40',
    950: '#000000',
  },
}
SCSS
$custom: #177d40;
$custom-light: #67a476;
$custom-dark: #000000;
JSON
{
  "hex": "#177d40",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 144.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51962,
    "c": 0.12969,
    "h": 151.4
  },
  "luminance": 0.1522
}

Semantic roles & 50–950 ramp

primary
#177D40
secondary
#B23E83
accent
#3CA5EC
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177D40

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

Preview Lab → · Contrast checker → · Palette generator →

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