#178D23#178D23

#178D23 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.1% C 0.173 H 143.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#178D23
RGBrgb(23, 141, 35)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 84%, 55%)
CMYKcmyk(83.7%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.10, -51.75, 45.09)
CIE-LCHlch(51.10, 68.64, 138.94°)
OKLaboklab(56.15% -0.1399 0.1022)
OKLCHoklch(56.15% 0.173 143.9)
XYZxyz(10.1809, 19.3520, 4.7885)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D23 #8D1781
analogous
#468D17 #178D23 #178D5E
triadic
#178D23 #23178D #8D2317
tetradic
#178D23 #17468D #8D1781 #8D5E17
square
#178D23 #17468D #8D1781 #8D5E17
split-complementary
#178D23 #5E178D #8D1746
monochromatic
#062409 #0E5816 #178D23 #20C230 #3FE04F

Accessibility & contrast

On white

4.31
#178D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#178D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178D23
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178D23#FFFFFF#000000##000000
##178D231.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178d23;
/* rgb */ color: rgb(23, 141, 35);
/* oklch */ color: oklch(56.1% 0.173 143.9);
Tailwind
colors: {
  custom: {
    50: '#6db065',
    500: '#178d23',
    950: '#000000',
  },
}
SCSS
$custom: #178d23;
$custom-light: #6db065;
$custom-dark: #000000;
JSON
{
  "hex": "#178d23",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 126.102,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56148,
    "c": 0.17327,
    "h": 143.9
  },
  "luminance": 0.19353
}

Semantic roles & 50–950 ramp

primary
#178D23
secondary
#C040B3
accent
#39DCEF
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178D23

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

Preview Lab → · Contrast checker → · Palette generator →

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