#177A38#177A38

#177A38 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.133 H 149.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#177A38
RGBrgb(23, 122, 56)
HSLhsl(140, 68%, 28%)
HSVhsv(140, 81%, 48%)
CMYKcmyk(81.1%, 0%, 54.1%, 52.2%)
CIE-LABlab(44.78, -42.63, 28.29)
CIE-LCHlch(44.78, 51.16, 146.43°)
OKLaboklab(50.97% -0.1145 0.0683)
OKLCHoklch(50.97% 0.133 149.2)
XYZxyz(8.0260, 14.3858, 6.0943)
Luminance0.1439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A38 #7A1759
analogous
#277A17 #177A38 #177A69
triadic
#177A38 #38177A #7A3817
tetradic
#177A38 #17277A #7A1759 #7A6917
square
#177A38 #17277A #7A1759 #7A6917
split-complementary
#177A38 #69177A #7A1727
monochromatic
#051A0C #0D4720 #177A38 #21AD50 #33D96A

Accessibility & contrast

On white

5.42
#177A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#177A38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A38
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A38#FFFFFF#000000##FFFFFF
##177A381.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F32
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#00786B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #177a38;
/* rgb */ color: rgb(23, 122, 56);
/* oklch */ color: oklch(51.0% 0.133 149.2);
Tailwind
colors: {
  custom: {
    50: '#66a170',
    500: '#177a38',
    950: '#000000',
  },
}
SCSS
$custom: #177a38;
$custom-light: #66a170;
$custom-dark: #000000;
JSON
{
  "hex": "#177a38",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 56
  },
  "hsl": {
    "h": 140,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.13331,
    "h": 149.2
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#177A38
secondary
#AF3E89
accent
#3DB1EB
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #177A38

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

Preview Lab → · Contrast checker → · Palette generator →

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