#177A27#177A27

#177A27 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.148 H 145.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#177A27
RGBrgb(23, 122, 39)
HSLhsl(130, 68%, 28%)
HSVhsv(130, 81%, 48%)
CMYKcmyk(81.1%, 0%, 68%, 52.2%)
CIE-LABlab(44.58, -44.99, 36.54)
CIE-LCHlch(44.58, 57.96, 140.92°)
OKLaboklab(50.75% -0.1214 0.0847)
OKLCHoklch(50.75% 0.148 145.1)
XYZxyz(7.6785, 14.2468, 4.2643)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A27 #7A176A
analogous
#387A17 #177A27 #177A58
triadic
#177A27 #27177A #7A2717
tetradic
#177A27 #17387A #7A176A #7A5817
square
#177A27 #17387A #7A176A #7A5817
split-complementary
#177A27 #58177A #7A1738
monochromatic
#051A08 #0D4717 #177A27 #21AD37 #33D94E

Accessibility & contrast

On white

5.46
#177A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#177A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177A27
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177A27#FFFFFF#000000##FFFFFF
##177A271.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1C
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a27;
/* rgb */ color: rgb(23, 122, 39);
/* oklch */ color: oklch(50.7% 0.148 145.1);
Tailwind
colors: {
  custom: {
    50: '#67a165',
    500: '#177a27',
    950: '#000000',
  },
}
SCSS
$custom: #177a27;
$custom-light: #67a165;
$custom-dark: #000000;
JSON
{
  "hex": "#177a27",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 129.697,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.14802,
    "h": 145.1
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#177A27
secondary
#AF3E9D
accent
#3DCFEB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A27

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

Preview Lab → · Contrast checker → · Palette generator →

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