#178C1E#178C1E

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

Color values

HEX#178C1E
RGBrgb(23, 140, 30)
HSLhsl(124, 72%, 32%)
HSVhsv(124, 84%, 55%)
CMYKcmyk(83.6%, 0%, 78.6%, 45.1%)
CIE-LABlab(50.72, -51.83, 46.53)
CIE-LCHlch(50.72, 69.65, 138.08°)
OKLaboklab(55.83% -0.1404 0.1045)
OKLCHoklch(55.83% 0.175 143.3)
XYZxyz(9.9651, 19.0308, 4.3762)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C1E #8C1785
analogous
#4B8C17 #178C1E #178C59
triadic
#178C1E #1E178C #8C1E17
tetradic
#178C1E #174B8C #8C1785 #8C5917
square
#178C1E #174B8C #8C1785 #8C5917
split-complementary
#178C1E #59178C #8C174B
monochromatic
#062307 #0E5713 #178C1E #20C129 #3EDF48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C1E#FFFFFF#000000##000000
##178C1E1.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)
#8F7E03
Deuteranopia (green-blind)
#83752B
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c1e;
/* rgb */ color: rgb(23, 140, 30);
/* oklch */ color: oklch(55.8% 0.175 143.3);
Tailwind
colors: {
  custom: {
    50: '#6daf63',
    500: '#178c1e',
    950: '#000000',
  },
}
SCSS
$custom: #178c1e;
$custom-light: #6daf63;
$custom-dark: #000000;
JSON
{
  "hex": "#178c1e",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 30
  },
  "hsl": {
    "h": 123.59,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55827,
    "c": 0.175,
    "h": 143.3
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#178C1E
secondary
#BF3FB8
accent
#39E4EF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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