#177221#177221

#177221 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.143 H 144.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#177221
RGBrgb(23, 114, 33)
HSLhsl(127, 66%, 27%)
HSVhsv(127, 80%, 45%)
CMYKcmyk(79.8%, 0%, 71.1%, 55.3%)
CIE-LABlab(41.73, -42.86, 36.14)
CIE-LCHlch(41.73, 56.06, 139.86°)
OKLaboklab(48.36% -0.1158 0.0832)
OKLCHoklch(48.36% 0.143 144.3)
XYZxyz(6.6447, 12.3258, 3.4675)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177221 #721768
analogous
#3B7217 #177221 #17724F
triadic
#177221 #211772 #722117
tetradic
#177221 #173B72 #721768 #724F17
square
#177221 #173B72 #721768 #724F17
split-complementary
#177221 #4F1772 #72173B
monochromatic
#051907 #0D3F12 #177221 #21A530 #2ED541

Accessibility & contrast

On white

6.06
#177221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#177221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177221
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177221#FFFFFF#000000##FFFFFF
##1772211.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746716
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177221;
/* rgb */ color: rgb(23, 114, 33);
/* oklch */ color: oklch(48.4% 0.143 144.3);
Tailwind
colors: {
  custom: {
    50: '#659c61',
    500: '#177221',
    950: '#000000',
  },
}
SCSS
$custom: #177221;
$custom-light: #659c61;
$custom-dark: #000000;
JSON
{
  "hex": "#177221",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 126.593,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48355,
    "c": 0.1426,
    "h": 144.3
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#177221
secondary
#A83D9C
accent
#3ED7E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #177221

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

Preview Lab → · Contrast checker → · Palette generator →

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