#177F42#177F42

#177F42 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.130 H 151.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#177F42
RGBrgb(23, 127, 66)
HSLhsl(145, 69%, 29%)
HSVhsv(145, 82%, 50%)
CMYKcmyk(81.9%, 0%, 48%, 50.2%)
CIE-LABlab(46.65, -42.77, 25.22)
CIE-LCHlch(46.65, 49.66, 149.47°)
OKLaboklab(52.57% -0.1149 0.0618)
OKLCHoklch(52.57% 0.13 151.7)
XYZxyz(8.9253, 15.7532, 7.7235)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177F42 #7F1754
analogous
#207F17 #177F42 #177F76
triadic
#177F42 #42177F #7F4217
tetradic
#177F42 #17207F #7F1754 #7F7617
square
#177F42 #17207F #7F1754 #7F7617
split-complementary
#177F42 #76177F #7F1720
monochromatic
#051A0D #0E4B27 #177F42 #20B35D #36DB7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177F42#FFFFFF#000000##FFFFFF
##177F421.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)
#7F743D
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #177f42;
/* rgb */ color: rgb(23, 127, 66);
/* oklch */ color: oklch(52.6% 0.130 151.7);
Tailwind
colors: {
  custom: {
    50: '#67a577',
    500: '#177f42',
    950: '#000000',
  },
}
SCSS
$custom: #177f42;
$custom-light: #67a577;
$custom-dark: #000000;
JSON
{
  "hex": "#177f42",
  "rgb": {
    "r": 23,
    "g": 127,
    "b": 66
  },
  "hsl": {
    "h": 144.808,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.13047,
    "h": 151.7
  },
  "luminance": 0.15754
}

Semantic roles & 50–950 ramp

primary
#177F42
secondary
#B43E83
accent
#3CA3EC
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #177F42

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

Preview Lab → · Contrast checker → · Palette generator →

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