#177223#177223

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

Color values

HEX#177223
RGBrgb(23, 114, 35)
HSLhsl(128, 66%, 27%)
HSVhsv(128, 80%, 45%)
CMYKcmyk(79.8%, 0%, 69.3%, 55.3%)
CIE-LABlab(41.75, -42.64, 35.26)
CIE-LCHlch(41.75, 55.33, 140.41°)
OKLaboklab(48.38% -0.1151 0.0816)
OKLCHoklch(48.38% 0.141 144.7)
XYZxyz(6.6736, 12.3374, 3.6194)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177223 #721766
analogous
#397217 #177223 #177251
triadic
#177223 #231772 #722317
tetradic
#177223 #173972 #721766 #725117
square
#177223 #173972 #721766 #725117
split-complementary
#177223 #511772 #721739
monochromatic
#051908 #0D3F13 #177223 #21A533 #2ED544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177223#FFFFFF#000000##FFFFFF
##1772231.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)
#746719
Deuteranopia (green-blind)
#6A602A
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177223;
/* rgb */ color: rgb(23, 114, 35);
/* oklch */ color: oklch(48.4% 0.141 144.7);
Tailwind
colors: {
  custom: {
    50: '#659b62',
    500: '#177223',
    950: '#000000',
  },
}
SCSS
$custom: #177223;
$custom-light: #659b62;
$custom-dark: #000000;
JSON
{
  "hex": "#177223",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 127.912,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48376,
    "c": 0.1411,
    "h": 144.7
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#177223
secondary
#A83D9A
accent
#3ED3E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #177223

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

Preview Lab → · Contrast checker → · Palette generator →

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