#177F40#177F40

#177F40 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.132 H 151.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#177F40
RGBrgb(23, 127, 64)
HSLhsl(144, 69%, 29%)
HSVhsv(144, 82%, 50%)
CMYKcmyk(81.9%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.62, -43.13, 26.28)
CIE-LCHlch(46.62, 50.51, 148.65°)
OKLaboklab(52.53% -0.1158 0.0642)
OKLCHoklch(52.53% 0.132 151)
XYZxyz(8.8674, 15.7300, 7.4183)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F40 #7F1756
analogous
#227F17 #177F40 #177F74
triadic
#177F40 #40177F #7F4017
tetradic
#177F40 #17227F #7F1756 #7F7417
square
#177F40 #17227F #7F1756 #7F7417
split-complementary
#177F40 #74177F #7F1722
monochromatic
#051A0D #0E4B26 #177F40 #20B35A #36DB77

Accessibility & contrast

On white

5.06
#177F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#177F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F40#FFFFFF#000000##FFFFFF
##177F401.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80733B
Deuteranopia (green-blind)
#746B45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f40;
/* rgb */ color: rgb(23, 127, 64);
/* oklch */ color: oklch(52.5% 0.132 151.0);
Tailwind
colors: {
  custom: {
    50: '#68a576',
    500: '#177f40',
    950: '#000000',
  },
}
SCSS
$custom: #177f40;
$custom-light: #68a576;
$custom-dark: #000000;
JSON
{
  "hex": "#177f40",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 143.654,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5253,
    "c": 0.13241,
    "h": 151
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#177F40
secondary
#B43E85
accent
#3CA7EC
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177F40

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

Preview Lab → · Contrast checker → · Palette generator →

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