#178B20#178B20

#178B20 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.173 H 143.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#178B20
RGBrgb(23, 139, 32)
HSLhsl(125, 72%, 32%)
HSVhsv(125, 83%, 55%)
CMYKcmyk(83.5%, 0%, 77%, 45.5%)
CIE-LABlab(50.39, -51.36, 45.50)
CIE-LCHlch(50.39, 68.61, 138.46°)
OKLaboklab(55.56% -0.139 0.1026)
OKLCHoklch(55.56% 0.173 143.6)
XYZxyz(9.8460, 18.7505, 4.4665)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B20 #8B1782
analogous
#488B17 #178B20 #178B5A
triadic
#178B20 #20178B #8B2017
tetradic
#178B20 #17488B #8B1782 #8B5A17
square
#178B20 #17488B #8B1782 #8B5A17
split-complementary
#178B20 #5A178B #8B1748
monochromatic
#062208 #0E5614 #178B20 #20C02C #3DDF4A

Accessibility & contrast

On white

4.42
#178B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#178B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B20#FFFFFF#000000##000000
##178B201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D09
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b20;
/* rgb */ color: rgb(23, 139, 32);
/* oklch */ color: oklch(55.6% 0.173 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cae63',
    500: '#178b20',
    950: '#000000',
  },
}
SCSS
$custom: #178b20;
$custom-light: #6cae63;
$custom-dark: #000000;
JSON
{
  "hex": "#178b20",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 124.655,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55557,
    "c": 0.17277,
    "h": 143.6
  },
  "luminance": 0.18752
}

Semantic roles & 50–950 ramp

primary
#178B20
secondary
#BF3FB5
accent
#39E0EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B20

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

Preview Lab → · Contrast checker → · Palette generator →

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