#178E20#178E20

#178E20 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.176 H 143.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#178E20
RGBrgb(23, 142, 32)
HSLhsl(125, 72%, 32%)
HSVhsv(125, 84%, 56%)
CMYKcmyk(83.8%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.42, -52.32, 46.51)
CIE-LCHlch(51.42, 70.01, 138.36°)
OKLaboklab(56.41% -0.1416 0.1047)
OKLCHoklch(56.41% 0.176 143.5)
XYZxyz(10.2864, 19.6312, 4.6133)
Luminance0.1963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E20 #8E1785
analogous
#498E17 #178E20 #178E5C
triadic
#178E20 #20178E #8E2017
tetradic
#178E20 #17498E #8E1785 #8E5C17
square
#178E20 #17498E #8E1785 #8E5C17
split-complementary
#178E20 #5C178E #8E1749
monochromatic
#062508 #0E5914 #178E20 #20C32C #3FE04C

Accessibility & contrast

On white

4.26
#178E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#178E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E20#FFFFFF#000000##000000
##178E201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#85772C
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178e20;
/* rgb */ color: rgb(23, 142, 32);
/* oklch */ color: oklch(56.4% 0.176 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db064',
    500: '#178e20',
    950: '#000000',
  },
}
SCSS
$custom: #178e20;
$custom-light: #6db064;
$custom-dark: #000000;
JSON
{
  "hex": "#178e20",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 124.538,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56409,
    "c": 0.17614,
    "h": 143.5
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#178E20
secondary
#C040B7
accent
#39E1EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E20

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

Preview Lab → · Contrast checker → · Palette generator →

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