#177211#177211

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

Color values

HEX#177211
RGBrgb(23, 114, 17)
HSLhsl(116, 74%, 26%)
HSVhsv(116, 85%, 45%)
CMYKcmyk(79.8%, 0%, 85.1%, 55.3%)
CIE-LABlab(41.62, -44.20, 42.09)
CIE-LCHlch(41.62, 61.03, 136.40°)
OKLaboklab(48.23% -0.1202 0.0933)
OKLCHoklch(48.23% 0.152 142.2)
XYZxyz(6.4715, 12.2565, 2.5549)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177211 #6C1172
analogous
#477211 #177211 #11723B
triadic
#177211 #111772 #721117
tetradic
#177211 #114772 #6C1172 #723B11
square
#177211 #114772 #6C1172 #723B11
split-complementary
#177211 #3B1172 #721147
monochromatic
#051B04 #0C3D09 #177211 #22A719 #2CDD21

Accessibility & contrast

On white

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

On black

3.45
#177211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##177211#FFFFFF#000000##FFFFFF
##1772111.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756600
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#006E60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177211;
/* rgb */ color: rgb(23, 114, 17);
/* oklch */ color: oklch(48.2% 0.152 142.2);
Tailwind
colors: {
  custom: {
    50: '#669c59',
    500: '#177211',
    950: '#000000',
  },
}
SCSS
$custom: #177211;
$custom-light: #669c59;
$custom-dark: #000000;
JSON
{
  "hex": "#177211",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 116.289,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48231,
    "c": 0.15222,
    "h": 142.2
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#177211
secondary
#A236A9
accent
#37F1E5
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177211

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

Preview Lab → · Contrast checker → · Palette generator →

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