#178D20#178D20

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

Color values

HEX#178D20
RGBrgb(23, 141, 32)
HSLhsl(125, 72%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(83.7%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.08, -52.00, 46.18)
CIE-LCHlch(51.08, 69.54, 138.39°)
OKLaboklab(56.13% -0.1407 0.104)
OKLCHoklch(56.13% 0.175 143.5)
XYZxyz(10.1383, 19.3349, 4.5639)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D20 #8D1784
analogous
#498D17 #178D20 #178D5B
triadic
#178D20 #20178D #8D2017
tetradic
#178D20 #17498D #8D1784 #8D5B17
square
#178D20 #17498D #8D1784 #8D5B17
split-complementary
#178D20 #5B178D #8D1749
monochromatic
#062408 #0E5814 #178D20 #20C22C #3FE04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D20#FFFFFF#000000##000000
##178D201.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)
#907F08
Deuteranopia (green-blind)
#84762C
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d20;
/* rgb */ color: rgb(23, 141, 32);
/* oklch */ color: oklch(56.1% 0.175 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#178d20',
    950: '#000000',
  },
}
SCSS
$custom: #178d20;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#178d20",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 124.576,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56125,
    "c": 0.17502,
    "h": 143.5
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#178D20
secondary
#C040B6
accent
#39E1EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D20

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

Preview Lab → · Contrast checker → · Palette generator →

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