#178B16#178B16

#178B16 is a mid, vivid green. Relative luminance 0.187; OKLCH L 55.5% C 0.178 H 142.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#178B16
RGBrgb(23, 139, 22)
HSLhsl(119, 73%, 32%)
HSVhsv(119, 84%, 55%)
CMYKcmyk(83.5%, 0%, 84.2%, 45.5%)
CIE-LABlab(50.34, -52.04, 48.70)
CIE-LCHlch(50.34, 71.27, 136.90°)
OKLaboklab(55.49% -0.1413 0.1079)
OKLCHoklch(55.49% 0.178 142.6)
XYZxyz(9.7302, 18.7041, 3.8563)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B16 #8A168B
analogous
#528B16 #178B16 #168B50
triadic
#178B16 #16178B #8B1617
tetradic
#178B16 #16528B #8A168B #8B5016
square
#178B16 #16528B #8A168B #8B5016
split-complementary
#178B16 #50168B #8B1652
monochromatic
#062105 #0E560E #178B16 #20C01E #3DE03B

Accessibility & contrast

On white

4.43
#178B16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#178B16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B16
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B16#FFFFFF#000000##000000
##178B161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#008776
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b16;
/* rgb */ color: rgb(23, 139, 22);
/* oklch */ color: oklch(55.5% 0.178 142.6);
Tailwind
colors: {
  custom: {
    50: '#6dae5f',
    500: '#178b16',
    950: '#000000',
  },
}
SCSS
$custom: #178b16;
$custom-light: #6dae5f;
$custom-dark: #000000;
JSON
{
  "hex": "#178b16",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 22
  },
  "hsl": {
    "h": 119.487,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.17777,
    "h": 142.6
  },
  "luminance": 0.18705
}

Semantic roles & 50–950 ramp

primary
#178B16
secondary
#BE3EBF
accent
#38EFEE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #178B16

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

Preview Lab → · Contrast checker → · Palette generator →

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