#177722#177722

#177722 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.8% C 0.148 H 144.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#177722
RGBrgb(23, 119, 34)
HSLhsl(127, 68%, 28%)
HSVhsv(127, 81%, 47%)
CMYKcmyk(80.7%, 0%, 71.4%, 53.3%)
CIE-LABlab(43.49, -44.50, 37.59)
CIE-LCHlch(43.49, 58.25, 139.81°)
OKLaboklab(49.82% -0.1203 0.0863)
OKLCHoklch(49.82% 0.148 144.3)
XYZxyz(7.2384, 13.4904, 3.7355)
Luminance0.1349 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177722 #77176C
analogous
#3C7717 #177722 #177752
triadic
#177722 #221777 #772217
tetradic
#177722 #173C77 #77176C #775217
square
#177722 #173C77 #77176C #775217
split-complementary
#177722 #521777 #77173C
monochromatic
#051A07 #0D4413 #177722 #21AA31 #31D744

Accessibility & contrast

On white

5.68
#177722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#177722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177722
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177722#FFFFFF#000000##FFFFFF
##1777221.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #177722;
/* rgb */ color: rgb(23, 119, 34);
/* oklch */ color: oklch(49.8% 0.148 144.3);
Tailwind
colors: {
  custom: {
    50: '#679f62',
    500: '#177722',
    950: '#000000',
  },
}
SCSS
$custom: #177722;
$custom-light: #679f62;
$custom-dark: #000000;
JSON
{
  "hex": "#177722",
  "rgb": {
    "r": 23,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 126.875,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.14804,
    "h": 144.3
  },
  "luminance": 0.13491
}

Semantic roles & 50–950 ramp

primary
#177722
secondary
#AC3EA0
accent
#3DD7EA
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #177722

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

Preview Lab → · Contrast checker → · Palette generator →

#177722 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva