#177222#177222

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

Color values

HEX#177222
RGBrgb(23, 114, 34)
HSLhsl(127, 66%, 27%)
HSVhsv(127, 80%, 45%)
CMYKcmyk(79.8%, 0%, 70.2%, 55.3%)
CIE-LABlab(41.74, -42.75, 35.70)
CIE-LCHlch(41.74, 55.70, 140.13°)
OKLaboklab(48.37% -0.1155 0.0824)
OKLCHoklch(48.37% 0.142 144.5)
XYZxyz(6.6589, 12.3315, 3.5423)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177222 #721767
analogous
#3A7217 #177222 #177250
triadic
#177222 #221772 #722217
tetradic
#177222 #173A72 #721767 #725017
square
#177222 #173A72 #721767 #725017
split-complementary
#177222 #501772 #72173A
monochromatic
#051908 #0D3F13 #177222 #21A531 #2ED543

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177222#FFFFFF#000000##FFFFFF
##1772221.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)
#746717
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177222;
/* rgb */ color: rgb(23, 114, 34);
/* oklch */ color: oklch(48.4% 0.142 144.5);
Tailwind
colors: {
  custom: {
    50: '#659b61',
    500: '#177222',
    950: '#000000',
  },
}
SCSS
$custom: #177222;
$custom-light: #659b61;
$custom-dark: #000000;
JSON
{
  "hex": "#177222",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 127.253,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48366,
    "c": 0.14186,
    "h": 144.5
  },
  "luminance": 0.12332
}

Semantic roles & 50–950 ramp

primary
#177222
secondary
#A83D9B
accent
#3ED5E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #177222

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

Preview Lab → · Contrast checker → · Palette generator →

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