#177E28#177E28

#177E28 is a mid, vivid green. Relative luminance 0.153; OKLCH L 51.9% C 0.152 H 145.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#177E28
RGBrgb(23, 126, 40)
HSLhsl(130, 69%, 29%)
HSVhsv(130, 82%, 49%)
CMYKcmyk(81.7%, 0%, 68.3%, 50.6%)
CIE-LABlab(45.98, -46.27, 37.62)
CIE-LCHlch(45.98, 59.63, 140.89°)
OKLaboklab(51.91% -0.1248 0.0871)
OKLCHoklch(51.91% 0.152 145.1)
XYZxyz(8.1966, 15.2561, 4.5198)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177E28 #7E176D
analogous
#3A7E17 #177E28 #177E5C
triadic
#177E28 #28177E #7E2817
tetradic
#177E28 #173A7E #7E176D #7E5C17
square
#177E28 #173A7E #7E176D #7E5C17
split-complementary
#177E28 #5C177E #7E173A
monochromatic
#051A08 #0E4A18 #177E28 #20B238 #35DA50

Accessibility & contrast

On white

5.18
#177E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#177E28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177E28
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177E28#FFFFFF#000000##FFFFFF
##177E281.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#756A30
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #177e28;
/* rgb */ color: rgb(23, 126, 40);
/* oklch */ color: oklch(51.9% 0.152 145.1);
Tailwind
colors: {
  custom: {
    50: '#68a466',
    500: '#177e28',
    950: '#000000',
  },
}
SCSS
$custom: #177e28;
$custom-light: #68a466;
$custom-dark: #000000;
JSON
{
  "hex": "#177e28",
  "rgb": {
    "r": 23,
    "g": 126,
    "b": 40
  },
  "hsl": {
    "h": 129.903,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.15219,
    "h": 145.1
  },
  "luminance": 0.15257
}

Semantic roles & 50–950 ramp

primary
#177E28
secondary
#B33E9F
accent
#3CCFEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177E28

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

Preview Lab → · Contrast checker → · Palette generator →

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