#178E16#178E16

#178E16 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.3% C 0.181 H 142.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#178E16
RGBrgb(23, 142, 22)
HSLhsl(120, 73%, 32%)
HSVhsv(120, 85%, 56%)
CMYKcmyk(83.8%, 0%, 84.5%, 44.3%)
CIE-LABlab(51.36, -52.99, 49.64)
CIE-LCHlch(51.36, 72.61, 136.87°)
OKLaboklab(56.35% -0.1438 0.1099)
OKLCHoklch(56.35% 0.181 142.6)
XYZxyz(10.1705, 19.5848, 4.0031)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E16 #8D168E
analogous
#538E16 #178E16 #168E51
triadic
#178E16 #16178E #8E1617
tetradic
#178E16 #16538E #8D168E #8E5116
square
#178E16 #16538E #8D168E #8E5116
split-complementary
#178E16 #51168E #8E1653
monochromatic
#062406 #0E590E #178E16 #20C31E #3FE13D

Accessibility & contrast

On white

4.27
#178E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#178E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E16
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E16#FFFFFF#000000##000000
##178E161.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#008A78
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e16;
/* rgb */ color: rgb(23, 142, 22);
/* oklch */ color: oklch(56.3% 0.181 142.6);
Tailwind
colors: {
  custom: {
    50: '#6eb05f',
    500: '#178e16',
    950: '#000000',
  },
}
SCSS
$custom: #178e16;
$custom-light: #6eb05f;
$custom-dark: #000000;
JSON
{
  "hex": "#178e16",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 22
  },
  "hsl": {
    "h": 119.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.181,
    "h": 142.6
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#178E16
secondary
#C03FC1
accent
#38F0EE
background
#F7FBF5
surface
#EDF6EA
border
#C8D0C6
text
#091105
muted
#7B8079

Preview Lab

Preview with #178E16

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

Preview Lab → · Contrast checker → · Palette generator →

#178E16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva