#177226#177226

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

Color values

HEX#177226
RGBrgb(23, 114, 38)
HSLhsl(130, 66%, 27%)
HSVhsv(130, 80%, 45%)
CMYKcmyk(79.8%, 0%, 66.7%, 55.3%)
CIE-LABlab(41.78, -42.28, 33.89)
CIE-LCHlch(41.78, 54.19, 141.29°)
OKLaboklab(48.41% -0.1141 0.079)
OKLCHoklch(48.41% 0.139 145.3)
XYZxyz(6.7200, 12.3559, 3.8641)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177226 #721763
analogous
#367217 #177226 #177254
triadic
#177226 #261772 #722617
tetradic
#177226 #173672 #721763 #725417
square
#177226 #173672 #721763 #725417
split-complementary
#177226 #541772 #721736
monochromatic
#051908 #0D3F15 #177226 #21A537 #2ED54A

Accessibility & contrast

On white

6.05
#177226 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #177226
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177226#FFFFFF#000000##FFFFFF
##1772261.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6A602D
Tritanopia (blue-blind)
#006F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #177226;
/* rgb */ color: rgb(23, 114, 38);
/* oklch */ color: oklch(48.4% 0.139 145.3);
Tailwind
colors: {
  custom: {
    50: '#659b64',
    500: '#177226',
    950: '#000000',
  },
}
SCSS
$custom: #177226;
$custom-light: #659b64;
$custom-dark: #000000;
JSON
{
  "hex": "#177226",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 129.89,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.4841,
    "c": 0.13874,
    "h": 145.3
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#177226
secondary
#A83D96
accent
#3ECDE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E05
muted
#7A7E7A

Preview Lab

Preview with #177226

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

Preview Lab → · Contrast checker → · Palette generator →

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