#178920#178920

#178920 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.171 H 143.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#178920
RGBrgb(23, 137, 32)
HSLhsl(125, 71%, 31%)
HSVhsv(125, 83%, 54%)
CMYKcmyk(83.2%, 0%, 76.6%, 46.3%)
CIE-LABlab(49.71, -50.71, 44.81)
CIE-LCHlch(49.71, 67.67, 138.53°)
OKLaboklab(54.99% -0.1372 0.1012)
OKLCHoklch(54.99% 0.171 143.6)
XYZxyz(9.5591, 18.1766, 4.3709)
Luminance0.1818 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178920 #891780
analogous
#478917 #178920 #178959
triadic
#178920 #201789 #892017
tetradic
#178920 #174789 #891780 #895917
square
#178920 #174789 #891780 #895917
split-complementary
#178920 #591789 #891747
monochromatic
#052008 #0E5514 #178920 #20BD2C #3CDE49

Accessibility & contrast

On white

4.53
#178920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#178920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178920
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178920#FFFFFF#000000##000000
##1789201.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0A
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #178920;
/* rgb */ color: rgb(23, 137, 32);
/* oklch */ color: oklch(55.0% 0.171 143.6);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#178920',
    950: '#000000',
  },
}
SCSS
$custom: #178920;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#178920",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 32
  },
  "hsl": {
    "h": 124.737,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.17051,
    "h": 143.6
  },
  "luminance": 0.18178
}

Semantic roles & 50–950 ramp

primary
#178920
secondary
#BD3FB3
accent
#3AE0EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178920

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

Preview Lab → · Contrast checker → · Palette generator →

#178920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva