#177228#177228

#177228 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.4% C 0.137 H 145.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#177228
RGBrgb(23, 114, 40)
HSLhsl(131, 66%, 27%)
HSVhsv(131, 80%, 45%)
CMYKcmyk(79.8%, 0%, 64.9%, 55.3%)
CIE-LABlab(41.80, -42.03, 32.95)
CIE-LCHlch(41.80, 53.41, 141.91°)
OKLaboklab(48.43% -0.1133 0.0772)
OKLCHoklch(48.43% 0.137 145.7)
XYZxyz(6.7532, 12.3692, 4.0387)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177228 #721761
analogous
#347217 #177228 #177256
triadic
#177228 #281772 #722817
tetradic
#177228 #173472 #721761 #725617
square
#177228 #173472 #721761 #725617
split-complementary
#177228 #561772 #721734
monochromatic
#051909 #0D3F16 #177228 #21A53A #2ED54E

Accessibility & contrast

On white

6.04
#177228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177228
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177228#FFFFFF#000000##FFFFFF
##1772281.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6A602E
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177228;
/* rgb */ color: rgb(23, 114, 40);
/* oklch */ color: oklch(48.4% 0.137 145.7);
Tailwind
colors: {
  custom: {
    50: '#659b65',
    500: '#177228',
    950: '#000000',
  },
}
SCSS
$custom: #177228;
$custom-light: #659b65;
$custom-dark: #000000;
JSON
{
  "hex": "#177228",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 40
  },
  "hsl": {
    "h": 131.209,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.1371,
    "h": 145.7
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#177228
secondary
#A83D94
accent
#3EC9E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #177228

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

Preview Lab → · Contrast checker → · Palette generator →

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