#177216#177216

#177216 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.3% C 0.150 H 142.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#177216
RGBrgb(23, 114, 22)
HSLhsl(119, 68%, 27%)
HSVhsv(119, 81%, 45%)
CMYKcmyk(79.8%, 0%, 80.7%, 55.3%)
CIE-LABlab(41.65, -43.86, 40.47)
CIE-LCHlch(41.65, 59.68, 137.30°)
OKLaboklab(48.26% -0.1191 0.0907)
OKLCHoklch(48.26% 0.15 142.7)
XYZxyz(6.5151, 12.2740, 2.7846)
Luminance0.1227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177216 #711672
analogous
#457216 #177216 #167243
triadic
#177216 #161772 #721617
tetradic
#177216 #164572 #711672 #724316
square
#177216 #164572 #711672 #724316
split-complementary
#177216 #431672 #721645
monochromatic
#051A05 #0D3F0C #177216 #21A520 #2ED62C

Accessibility & contrast

On white

6.08
#177216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#177216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #177216
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##177216#FFFFFF#000000##FFFFFF
##1772161.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177216;
/* rgb */ color: rgb(23, 114, 22);
/* oklch */ color: oklch(48.3% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#669c5b',
    500: '#177216',
    950: '#000000',
  },
}
SCSS
$custom: #177216;
$custom-light: #669c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#177216",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 119.348,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48262,
    "c": 0.1497,
    "h": 142.7
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#177216
secondary
#A73CA8
accent
#3DEBE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177216

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

Preview Lab → · Contrast checker → · Palette generator →

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