#177218#177218

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

Color values

HEX#177218
RGBrgb(23, 114, 24)
HSLhsl(121, 66%, 27%)
HSVhsv(121, 80%, 45%)
CMYKcmyk(79.8%, 0%, 78.9%, 55.3%)
CIE-LABlab(41.66, -43.70, 39.75)
CIE-LCHlch(41.66, 59.08, 137.71°)
OKLaboklab(48.28% -0.1186 0.0895)
OKLCHoklch(48.28% 0.149 143)
XYZxyz(6.5351, 12.2820, 2.8902)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#177218 #721771
analogous
#447217 #177218 #177246
triadic
#177218 #181772 #721817
tetradic
#177218 #174472 #721771 #724617
square
#177218 #174472 #721771 #724617
split-complementary
#177218 #461772 #721744
monochromatic
#051905 #0D3F0D #177218 #21A523 #2ED530

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##177218#FFFFFF#000000##FFFFFF
##1772181.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)
#756605
Deuteranopia (green-blind)
#6B6022
Tritanopia (blue-blind)
#006E61
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #177218;
/* rgb */ color: rgb(23, 114, 24);
/* oklch */ color: oklch(48.3% 0.149 143.0);
Tailwind
colors: {
  custom: {
    50: '#669c5c',
    500: '#177218',
    950: '#000000',
  },
}
SCSS
$custom: #177218;
$custom-light: #669c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#177218",
  "rgb": {
    "r": 23,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 120.659,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48277,
    "c": 0.14856,
    "h": 143
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#177218
secondary
#A83DA6
accent
#3EE7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #177218

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

Preview Lab → · Contrast checker → · Palette generator →

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