#178C22#178C22

#178C22 is a mid, vivid green. Relative luminance 0.191; OKLCH L 55.9% C 0.173 H 143.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#178C22
RGBrgb(23, 140, 34)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(83.6%, 0%, 75.7%, 45.1%)
CIE-LABlab(50.75, -51.51, 45.11)
CIE-LCHlch(50.75, 68.48, 138.79°)
OKLaboklab(55.86% -0.1393 0.1021)
OKLCHoklch(55.86% 0.173 143.8)
XYZxyz(10.0195, 19.0526, 4.6625)
Luminance0.1905 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C22 #8C1781
analogous
#478C17 #178C22 #178C5D
triadic
#178C22 #22178C #8C2217
tetradic
#178C22 #17478C #8C1781 #8C5D17
square
#178C22 #17478C #8C1781 #8C5D17
split-complementary
#178C22 #5D178C #8C1747
monochromatic
#062308 #0E5715 #178C22 #20C12F #3EDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C22#FFFFFF#000000##000000
##178C221.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)
#8F7E0D
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c22;
/* rgb */ color: rgb(23, 140, 34);
/* oklch */ color: oklch(55.9% 0.173 143.8);
Tailwind
colors: {
  custom: {
    50: '#6caf64',
    500: '#178c22',
    950: '#000000',
  },
}
SCSS
$custom: #178c22;
$custom-light: #6caf64;
$custom-dark: #000000;
JSON
{
  "hex": "#178c22",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 125.641,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55856,
    "c": 0.17274,
    "h": 143.8
  },
  "luminance": 0.19054
}

Semantic roles & 50–950 ramp

primary
#178C22
secondary
#BF3FB3
accent
#39DDEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C22

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

Preview Lab → · Contrast checker → · Palette generator →

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