#178D22#178D22

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

Color values

HEX#178D22
RGBrgb(23, 141, 34)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(83.7%, 0%, 75.9%, 44.7%)
CIE-LABlab(51.09, -51.84, 45.46)
CIE-LCHlch(51.09, 68.94, 138.75°)
OKLaboklab(56.14% -0.1402 0.1028)
OKLCHoklch(56.14% 0.174 143.8)
XYZxyz(10.1663, 19.3462, 4.7114)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D22 #8D1782
analogous
#478D17 #178D22 #178D5D
triadic
#178D22 #22178D #8D2217
tetradic
#178D22 #17478D #8D1782 #8D5D17
square
#178D22 #17478D #8D1782 #8D5D17
split-complementary
#178D22 #5D178D #8D1747
monochromatic
#062409 #0E5815 #178D22 #20C22F #3FE04E

Accessibility & contrast

On white

4.31
#178D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#178D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D22
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D22#FFFFFF#000000##000000
##178D221.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d22;
/* rgb */ color: rgb(23, 141, 34);
/* oklch */ color: oklch(56.1% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#6db065',
    500: '#178d22',
    950: '#000000',
  },
}
SCSS
$custom: #178d22;
$custom-light: #6db065;
$custom-dark: #000000;
JSON
{
  "hex": "#178d22",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 125.593,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5614,
    "c": 0.17387,
    "h": 143.8
  },
  "luminance": 0.19347
}

Semantic roles & 50–950 ramp

primary
#178D22
secondary
#C040B4
accent
#39DEEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D22

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

Preview Lab → · Contrast checker → · Palette generator →

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