#178F20#178F20

#178F20 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.177 H 143.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F20
RGBrgb(23, 143, 32)
HSLhsl(125, 72%, 33%)
HSVhsv(125, 84%, 56%)
CMYKcmyk(83.9%, 0%, 77.6%, 43.9%)
CIE-LABlab(51.76, -52.64, 46.85)
CIE-LCHlch(51.76, 70.47, 138.33°)
OKLaboklab(56.69% -0.1425 0.1054)
OKLCHoklch(56.69% 0.177 143.5)
XYZxyz(10.4358, 19.9301, 4.6631)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F20 #8F1786
analogous
#4A8F17 #178F20 #178F5C
triadic
#178F20 #20178F #8F2017
tetradic
#178F20 #174A8F #8F1786 #8F5C17
square
#178F20 #174A8F #8F1786 #8F5C17
split-complementary
#178F20 #5C178F #8F174A
monochromatic
#062608 #0F5A14 #178F20 #1FC42C #40E04C

Accessibility & contrast

On white

4.21
#178F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F20
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F20#FFFFFF#000000##000000
##178F201.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f20;
/* rgb */ color: rgb(23, 143, 32);
/* oklch */ color: oklch(56.7% 0.177 143.5);
Tailwind
colors: {
  custom: {
    50: '#6db164',
    500: '#178f20',
    950: '#000000',
  },
}
SCSS
$custom: #178f20;
$custom-light: #6db164;
$custom-dark: #000000;
JSON
{
  "hex": "#178f20",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 124.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56692,
    "c": 0.17725,
    "h": 143.5
  },
  "luminance": 0.19931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178F20

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

Preview Lab → · Contrast checker → · Palette generator →

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