#178E23#178E23

#178E23 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.4% C 0.174 H 143.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#178E23
RGBrgb(23, 142, 35)
HSLhsl(126, 72%, 32%)
HSVhsv(126, 84%, 56%)
CMYKcmyk(83.8%, 0%, 75.4%, 44.3%)
CIE-LABlab(51.44, -52.07, 45.43)
CIE-LCHlch(51.44, 69.11, 138.90°)
OKLaboklab(56.43% -0.1408 0.1029)
OKLCHoklch(56.43% 0.174 143.8)
XYZxyz(10.3290, 19.6482, 4.8379)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E23 #8E1782
analogous
#478E17 #178E23 #178E5E
triadic
#178E23 #23178E #8E2317
tetradic
#178E23 #17478E #8E1782 #8E5E17
square
#178E23 #17478E #8E1782 #8E5E17
split-complementary
#178E23 #5E178E #8E1747
monochromatic
#062509 #0E5916 #178E23 #20C330 #3FE050

Accessibility & contrast

On white

4.26
#178E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#178E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E23
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E23#FFFFFF#000000##000000
##178E231.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e23;
/* rgb */ color: rgb(23, 142, 35);
/* oklch */ color: oklch(56.4% 0.174 143.8);
Tailwind
colors: {
  custom: {
    50: '#6db065',
    500: '#178e23',
    950: '#000000',
  },
}
SCSS
$custom: #178e23;
$custom-light: #6db065;
$custom-dark: #000000;
JSON
{
  "hex": "#178e23",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 126.05,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.1744,
    "h": 143.8
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#178E23
secondary
#C040B3
accent
#39DCEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E23

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

Preview Lab → · Contrast checker → · Palette generator →

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