#177B40#177B40

#177B40 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.127 H 151.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#177B40
RGBrgb(23, 123, 64)
HSLhsl(145, 68%, 29%)
HSVhsv(145, 81%, 48%)
CMYKcmyk(81.3%, 0%, 48%, 51.8%)
CIE-LABlab(45.24, -41.61, 24.53)
CIE-LCHlch(45.24, 48.31, 149.48°)
OKLaboklab(51.39% -0.1118 0.0602)
OKLCHoklch(51.39% 0.127 151.7)
XYZxyz(8.3610, 14.7172, 7.2496)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177B40 #7B1752
analogous
#207B17 #177B40 #177B72
triadic
#177B40 #40177B #7B4017
tetradic
#177B40 #17207B #7B1752 #7B7217
square
#177B40 #17207B #7B1752 #7B7217
split-complementary
#177B40 #72177B #7B1720
monochromatic
#051A0D #0D4725 #177B40 #21AF5B #33D977

Accessibility & contrast

On white

5.33
#177B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#177B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177B40
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177B40#FFFFFF#000000##FFFFFF
##177B401.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703B
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #177b40;
/* rgb */ color: rgb(23, 123, 64);
/* oklch */ color: oklch(51.4% 0.127 151.7);
Tailwind
colors: {
  custom: {
    50: '#66a276',
    500: '#177b40',
    950: '#000000',
  },
}
SCSS
$custom: #177b40;
$custom-light: #66a276;
$custom-dark: #000000;
JSON
{
  "hex": "#177b40",
  "rgb": {
    "r": 23,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 144.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.12696,
    "h": 151.7
  },
  "luminance": 0.14718
}

Semantic roles & 50–950 ramp

primary
#177B40
secondary
#B03E81
accent
#3CA4EB
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177B40

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

Preview Lab → · Contrast checker → · Palette generator →

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