#177A26#177A26

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

Color values

HEX#177A26
RGBrgb(23, 122, 38)
HSLhsl(129, 68%, 28%)
HSVhsv(129, 81%, 48%)
CMYKcmyk(81.1%, 0%, 68.9%, 52.2%)
CIE-LABlab(44.58, -45.11, 36.98)
CIE-LCHlch(44.58, 58.33, 140.65°)
OKLaboklab(50.73% -0.1217 0.0855)
OKLCHoklch(50.73% 0.149 144.9)
XYZxyz(7.6622, 14.2402, 4.1782)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177A26 #7A176B
analogous
#397A17 #177A26 #177A57
triadic
#177A26 #26177A #7A2617
tetradic
#177A26 #17397A #7A176B #7A5717
square
#177A26 #17397A #7A176B #7A5717
split-complementary
#177A26 #57177A #7A1739
monochromatic
#051A08 #0D4716 #177A26 #21AD36 #33D94C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177A26#FFFFFF#000000##FFFFFF
##177A261.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)
#7C6E1B
Deuteranopia (green-blind)
#71662E
Tritanopia (blue-blind)
#007769
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #177a26;
/* rgb */ color: rgb(23, 122, 38);
/* oklch */ color: oklch(50.7% 0.149 144.9);
Tailwind
colors: {
  custom: {
    50: '#67a165',
    500: '#177a26',
    950: '#000000',
  },
}
SCSS
$custom: #177a26;
$custom-light: #67a165;
$custom-dark: #000000;
JSON
{
  "hex": "#177a26",
  "rgb": {
    "r": 23,
    "g": 122,
    "b": 38
  },
  "hsl": {
    "h": 129.091,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50734,
    "c": 0.14878,
    "h": 144.9
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#177A26
secondary
#AF3E9E
accent
#3DD1EB
background
#F6FAF6
surface
#EBF3EB
border
#C6CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #177A26

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

Preview Lab → · Contrast checker → · Palette generator →

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