#178C20#178C20

#178C20 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.8% C 0.174 H 143.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178C20
RGBrgb(23, 140, 32)
HSLhsl(125, 72%, 32%)
HSVhsv(125, 84%, 55%)
CMYKcmyk(83.6%, 0%, 77.1%, 45.1%)
CIE-LABlab(50.74, -51.68, 45.84)
CIE-LCHlch(50.74, 69.08, 138.43°)
OKLaboklab(55.84% -0.1399 0.1033)
OKLCHoklch(55.84% 0.174 143.5)
XYZxyz(9.9915, 19.0414, 4.5150)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C20 #8C1783
analogous
#498C17 #178C20 #178C5A
triadic
#178C20 #20178C #8C2017
tetradic
#178C20 #17498C #8C1783 #8C5A17
square
#178C20 #17498C #8C1783 #8C5A17
split-complementary
#178C20 #5A178C #8C1749
monochromatic
#062308 #0E5714 #178C20 #20C12C #3EDF4A

Accessibility & contrast

On white

4.37
#178C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#178C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C20
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C20#FFFFFF#000000##000000
##178C201.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E08
Deuteranopia (green-blind)
#83752C
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c20;
/* rgb */ color: rgb(23, 140, 32);
/* oklch */ color: oklch(55.8% 0.174 143.5);
Tailwind
colors: {
  custom: {
    50: '#6daf63',
    500: '#178c20',
    950: '#000000',
  },
}
SCSS
$custom: #178c20;
$custom-light: #6daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#178c20",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 32
  },
  "hsl": {
    "h": 124.615,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55841,
    "c": 0.17389,
    "h": 143.5
  },
  "luminance": 0.19043
}

Semantic roles & 50–950 ramp

primary
#178C20
secondary
#BF3FB6
accent
#39E1EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C20

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

Preview Lab → · Contrast checker → · Palette generator →

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