#178916#178916

#178916 is a mid, vivid green. Relative luminance 0.181; OKLCH L 54.9% C 0.176 H 142.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#178916
RGBrgb(23, 137, 22)
HSLhsl(119, 72%, 31%)
HSVhsv(119, 84%, 54%)
CMYKcmyk(83.2%, 0%, 83.9%, 46.3%)
CIE-LABlab(49.65, -51.41, 48.06)
CIE-LCHlch(49.65, 70.38, 136.93°)
OKLaboklab(54.92% -0.1396 0.1066)
OKLCHoklch(54.92% 0.176 142.6)
XYZxyz(9.4432, 18.1303, 3.7607)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178916 #881689
analogous
#508916 #178916 #16894E
triadic
#178916 #161789 #891617
tetradic
#178916 #165089 #881689 #894E16
square
#178916 #165089 #881689 #894E16
split-complementary
#178916 #4E1689 #891650
monochromatic
#052005 #0E540E #178916 #20BE1E #3BDF3A

Accessibility & contrast

On white

4.54
#178916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#178916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178916
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178916#FFFFFF#000000##000000
##1789161.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178916;
/* rgb */ color: rgb(23, 137, 22);
/* oklch */ color: oklch(54.9% 0.176 142.6);
Tailwind
colors: {
  custom: {
    50: '#6cad5f',
    500: '#178916',
    950: '#000000',
  },
}
SCSS
$custom: #178916;
$custom-light: #6cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178916",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 119.478,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54923,
    "c": 0.1756,
    "h": 142.6
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178916

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

Preview Lab → · Contrast checker → · Palette generator →

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