#178C23#178C23

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

Color values

HEX#178C23
RGBrgb(23, 140, 35)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(83.6%, 0%, 75%, 45.1%)
CIE-LABlab(50.76, -51.43, 44.74)
CIE-LCHlch(50.76, 68.17, 138.98°)
OKLaboklab(55.86% -0.1391 0.1014)
OKLCHoklch(55.86% 0.172 143.9)
XYZxyz(10.0341, 19.0584, 4.7396)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C23 #8C1780
analogous
#468C17 #178C23 #178C5E
triadic
#178C23 #23178C #8C2317
tetradic
#178C23 #17468C #8C1780 #8C5E17
square
#178C23 #17468C #8C1780 #8C5E17
split-complementary
#178C23 #5E178C #8C1746
monochromatic
#062309 #0E5716 #178C23 #20C130 #3EDF4F

Accessibility & contrast

On white

4.36
#178C23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##178C23#FFFFFF#000000##000000
##178C231.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#82762E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178c23;
/* rgb */ color: rgb(23, 140, 35);
/* oklch */ color: oklch(55.9% 0.172 143.9);
Tailwind
colors: {
  custom: {
    50: '#6caf65',
    500: '#178c23',
    950: '#000000',
  },
}
SCSS
$custom: #178c23;
$custom-light: #6caf65;
$custom-dark: #000000;
JSON
{
  "hex": "#178c23",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 126.154,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.17213,
    "h": 143.9
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

primary
#178C23
secondary
#BF3FB2
accent
#39DCEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178C23

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

Preview Lab → · Contrast checker → · Palette generator →

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