#178E24#178E24

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

Color values

HEX#178E24
RGBrgb(23, 142, 36)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 84%, 56%)
CMYKcmyk(83.8%, 0%, 74.6%, 44.3%)
CIE-LABlab(51.44, -51.99, 45.06)
CIE-LCHlch(51.44, 68.80, 139.08°)
OKLaboklab(56.44% -0.1405 0.1022)
OKLCHoklch(56.44% 0.174 144)
XYZxyz(10.3441, 19.6543, 4.9172)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E24 #8E1781
analogous
#458E17 #178E24 #178E60
triadic
#178E24 #24178E #8E2417
tetradic
#178E24 #17458E #8E1781 #8E6017
square
#178E24 #17458E #8E1781 #8E6017
split-complementary
#178E24 #60178E #8E1745
monochromatic
#062509 #0E5917 #178E24 #20C331 #3FE051

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178E24#FFFFFF#000000##000000
##178E241.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)
#918011
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#008A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e24;
/* rgb */ color: rgb(23, 142, 36);
/* oklch */ color: oklch(56.4% 0.174 144.0);
Tailwind
colors: {
  custom: {
    50: '#6db066',
    500: '#178e24',
    950: '#000000',
  },
}
SCSS
$custom: #178e24;
$custom-light: #6db066;
$custom-dark: #000000;
JSON
{
  "hex": "#178e24",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 36
  },
  "hsl": {
    "h": 126.555,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56439,
    "c": 0.17379,
    "h": 144
  },
  "luminance": 0.19656
}

Semantic roles & 50–950 ramp

primary
#178E24
secondary
#C040B2
accent
#39DBEF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081106
muted
#7B807A

Preview Lab

Preview with #178E24

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

Preview Lab → · Contrast checker → · Palette generator →

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