#177E42#177E42

#177E42 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.129 H 151.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#177E42
RGBrgb(23, 126, 66)
HSLhsl(145, 69%, 29%)
HSVhsv(145, 82%, 49%)
CMYKcmyk(81.7%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.31, -42.39, 24.79)
CIE-LCHlch(46.31, 49.11, 149.68°)
OKLaboklab(52.28% -0.1139 0.0608)
OKLCHoklch(52.28% 0.129 151.9)
XYZxyz(8.7968, 15.4961, 7.6806)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E42 #7E1753
analogous
#1F7E17 #177E42 #177E76
triadic
#177E42 #42177E #7E4217
tetradic
#177E42 #171F7E #7E1753 #7E7617
square
#177E42 #171F7E #7E1753 #7E7617
split-complementary
#177E42 #76177E #7E171F
monochromatic
#051A0E #0E4A27 #177E42 #20B25D #35DA7A

Accessibility & contrast

On white

5.12
#177E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#177E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E42
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E42#FFFFFF#000000##FFFFFF
##177E421.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733D
Deuteranopia (green-blind)
#736A46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #177e42;
/* rgb */ color: rgb(23, 126, 66);
/* oklch */ color: oklch(52.3% 0.129 151.9);
Tailwind
colors: {
  custom: {
    50: '#67a477',
    500: '#177e42',
    950: '#000000',
  },
}
SCSS
$custom: #177e42;
$custom-light: #67a477;
$custom-dark: #000000;
JSON
{
  "hex": "#177e42",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 145.049,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.12912,
    "h": 151.9
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#177E42
secondary
#B33E82
accent
#3CA2EC
background
#F6FAF7
surface
#EBF4ED
border
#C6CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #177E42

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

Preview Lab → · Contrast checker → · Palette generator →

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