#177F39#177F39

#177F39 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.139 H 148.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#177F39
RGBrgb(23, 127, 57)
HSLhsl(140, 69%, 29%)
HSVhsv(140, 82%, 50%)
CMYKcmyk(81.9%, 0%, 55.1%, 50.2%)
CIE-LABlab(46.52, -44.31, 29.89)
CIE-LCHlch(46.52, 53.45, 146.00°)
OKLaboklab(52.42% -0.119 0.0719)
OKLCHoklch(52.42% 0.139 148.9)
XYZxyz(8.6805, 15.6553, 6.4344)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F39 #7F175D
analogous
#297F17 #177F39 #177F6D
triadic
#177F39 #39177F #7F3917
tetradic
#177F39 #17297F #7F175D #7F6D17
square
#177F39 #17297F #7F175D #7F6D17
split-complementary
#177F39 #6D177F #7F1729
monochromatic
#051A0C #0E4B22 #177F39 #20B350 #36DB6C

Accessibility & contrast

On white

5.08
#177F39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#177F39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177F39
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177F39#FFFFFF#000000##FFFFFF
##177F391.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807333
Deuteranopia (green-blind)
#756B3E
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177f39;
/* rgb */ color: rgb(23, 127, 57);
/* oklch */ color: oklch(52.4% 0.139 148.9);
Tailwind
colors: {
  custom: {
    50: '#68a571',
    500: '#177f39',
    950: '#000000',
  },
}
SCSS
$custom: #177f39;
$custom-light: #68a571;
$custom-dark: #000000;
JSON
{
  "hex": "#177f39",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 57
  },
  "hsl": {
    "h": 139.615,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.13903,
    "h": 148.9
  },
  "luminance": 0.15656
}

Semantic roles & 50–950 ramp

primary
#177F39
secondary
#B43E8D
accent
#3CB2EC
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #177F39

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

Preview Lab → · Contrast checker → · Palette generator →

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