#177E38#177E38

#177E38 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.139 H 148.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#177E38
RGBrgb(23, 126, 56)
HSLhsl(139, 69%, 29%)
HSVhsv(139, 82%, 49%)
CMYKcmyk(81.7%, 0%, 55.6%, 50.6%)
CIE-LABlab(46.16, -44.10, 29.98)
CIE-LCHlch(46.16, 53.33, 145.79°)
OKLaboklab(52.12% -0.1185 0.072)
OKLCHoklch(52.12% 0.139 148.7)
XYZxyz(8.5273, 15.3884, 6.2614)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E38 #7E175D
analogous
#2A7E17 #177E38 #177E6C
triadic
#177E38 #38177E #7E3817
tetradic
#177E38 #172A7E #7E175D #7E6C17
square
#177E38 #172A7E #7E175D #7E6C17
split-complementary
#177E38 #6C177E #7E172A
monochromatic
#051A0C #0E4A21 #177E38 #20B24F #35DA6A

Accessibility & contrast

On white

5.15
#177E38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#177E38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E38
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E38#FFFFFF#000000##FFFFFF
##177E381.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#746A3D
Tritanopia (blue-blind)
#007B6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e38;
/* rgb */ color: rgb(23, 126, 56);
/* oklch */ color: oklch(52.1% 0.139 148.7);
Tailwind
colors: {
  custom: {
    50: '#68a470',
    500: '#177e38',
    950: '#000000',
  },
}
SCSS
$custom: #177e38;
$custom-light: #68a470;
$custom-dark: #000000;
JSON
{
  "hex": "#177e38",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 56
  },
  "hsl": {
    "h": 139.223,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.13864,
    "h": 148.7
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#177E38
secondary
#B33E8D
accent
#3CB4EC
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177E38

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

Preview Lab → · Contrast checker → · Palette generator →

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