#177D28#177D28

#177D28 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.151 H 145.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#177D28
RGBrgb(23, 125, 40)
HSLhsl(130, 69%, 29%)
HSVhsv(130, 82%, 49%)
CMYKcmyk(81.6%, 0%, 68%, 51%)
CIE-LABlab(45.64, -45.92, 37.24)
CIE-LCHlch(45.64, 59.12, 140.96°)
OKLaboklab(51.62% -0.1238 0.0863)
OKLCHoklch(51.62% 0.151 145.1)
XYZxyz(8.0694, 15.0016, 4.4774)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177D28 #7D176C
analogous
#397D17 #177D28 #177D5B
triadic
#177D28 #28177D #7D2817
tetradic
#177D28 #17397D #7D176C #7D5B17
square
#177D28 #17397D #7D176C #7D5B17
split-complementary
#177D28 #5B177D #7D1739
monochromatic
#051A08 #0D4917 #177D28 #21B139 #35DA50

Accessibility & contrast

On white

5.25
#177D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#177D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177D28
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177D28#FFFFFF#000000##FFFFFF
##177D281.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#007A6B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #177d28;
/* rgb */ color: rgb(23, 125, 40);
/* oklch */ color: oklch(51.6% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a466',
    500: '#177d28',
    950: '#000000',
  },
}
SCSS
$custom: #177d28;
$custom-light: #68a466;
$custom-dark: #000000;
JSON
{
  "hex": "#177d28",
  "rgb": {
    "r": 23,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 130,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51621,
    "c": 0.15096,
    "h": 145.1
  },
  "luminance": 0.15003
}

Semantic roles & 50–950 ramp

primary
#177D28
secondary
#B23E9E
accent
#3CCEEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177D28

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

Preview Lab → · Contrast checker → · Palette generator →

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