#178D15#178D15

#178D15 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.180 H 142.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#178D15
RGBrgb(23, 141, 21)
HSLhsl(119, 74%, 32%)
HSVhsv(119, 85%, 55%)
CMYKcmyk(83.7%, 0%, 85.1%, 44.7%)
CIE-LABlab(51.02, -52.73, 49.60)
CIE-LCHlch(51.02, 72.39, 136.75°)
OKLaboklab(56.06% -0.1432 0.1096)
OKLCHoklch(56.06% 0.18 142.6)
XYZxyz(10.0129, 19.2848, 3.9039)
Luminance0.1929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D15 #8B158D
analogous
#538D15 #178D15 #158D4F
triadic
#178D15 #15178D #8D1517
tetradic
#178D15 #15538D #8B158D #8D4F15
square
#178D15 #15538D #8B158D #8D4F15
split-complementary
#178D15 #4F158D #8D1553
monochromatic
#062205 #0E580D #178D15 #20C21D #3DE23B

Accessibility & contrast

On white

4.32
#178D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#178D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D15
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D15#FFFFFF#000000##000000
##178D151.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#847625
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178d15;
/* rgb */ color: rgb(23, 141, 21);
/* oklch */ color: oklch(56.1% 0.180 142.6);
Tailwind
colors: {
  custom: {
    50: '#6db05f',
    500: '#178d15',
    950: '#000000',
  },
}
SCSS
$custom: #178d15;
$custom-light: #6db05f;
$custom-dark: #000000;
JSON
{
  "hex": "#178d15",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 119,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56059,
    "c": 0.18034,
    "h": 142.6
  },
  "luminance": 0.19286
}

Semantic roles & 50–950 ramp

primary
#178D15
secondary
#BF3DC1
accent
#37F1EE
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081105
muted
#7B8079

Preview Lab

Preview with #178D15

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

Preview Lab → · Contrast checker → · Palette generator →

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