#178716#178716

#178716 is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.4% C 0.173 H 142.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#178716
RGBrgb(23, 135, 22)
HSLhsl(119, 72%, 31%)
HSVhsv(119, 84%, 53%)
CMYKcmyk(83%, 0%, 83.7%, 47.1%)
CIE-LABlab(48.97, -50.78, 47.43)
CIE-LCHlch(48.97, 69.48, 136.95°)
OKLaboklab(54.35% -0.1378 0.1052)
OKLCHoklch(54.35% 0.173 142.6)
XYZxyz(9.1616, 17.5669, 3.6668)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178716 #861687
analogous
#4F8716 #178716 #16874D
triadic
#178716 #161787 #871617
tetradic
#178716 #164F87 #861687 #874D16
square
#178716 #164F87 #861687 #874D16
split-complementary
#178716 #4D1687 #87164F
monochromatic
#051E05 #0E520D #178716 #20BC1F #3ADF39

Accessibility & contrast

On white

4.65
#178716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#178716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #178716
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178716#FFFFFF#000000##FFFFFF
##1787161.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #178716;
/* rgb */ color: rgb(23, 135, 22);
/* oklch */ color: oklch(54.4% 0.173 142.6);
Tailwind
colors: {
  custom: {
    50: '#6cab5e',
    500: '#178716',
    950: '#000000',
  },
}
SCSS
$custom: #178716;
$custom-light: #6cab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#178716",
  "rgb": {
    "r": 23,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 119.469,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.17342,
    "h": 142.6
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#178716
secondary
#BA3EBB
accent
#39EFED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178716

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

Preview Lab → · Contrast checker → · Palette generator →

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