#178F24#178F24

#178F24 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.175 H 143.9°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#178F24
RGBrgb(23, 143, 36)
HSLhsl(127, 72%, 33%)
HSVhsv(127, 84%, 56%)
CMYKcmyk(83.9%, 0%, 74.8%, 43.9%)
CIE-LABlab(51.78, -52.31, 45.41)
CIE-LCHlch(51.78, 69.27, 139.04°)
OKLaboklab(56.72% -0.1414 0.103)
OKLCHoklch(56.72% 0.175 143.9)
XYZxyz(10.4935, 19.9532, 4.9670)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178F24 #8F1782
analogous
#468F17 #178F24 #178F60
triadic
#178F24 #24178F #8F2417
tetradic
#178F24 #17468F #8F1782 #8F6017
square
#178F24 #17468F #8F1782 #8F6017
split-complementary
#178F24 #60178F #8F1746
monochromatic
#062609 #0F5A17 #178F24 #1FC431 #40E051

Accessibility & contrast

On white

4.21
#178F24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#178F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178F24
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178F24#FFFFFF#000000##000000
##178F241.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#85782F
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178f24;
/* rgb */ color: rgb(23, 143, 36);
/* oklch */ color: oklch(56.7% 0.175 143.9);
Tailwind
colors: {
  custom: {
    50: '#6db166',
    500: '#178f24',
    950: '#000000',
  },
}
SCSS
$custom: #178f24;
$custom-light: #6db166;
$custom-dark: #000000;
JSON
{
  "hex": "#178f24",
  "rgb": {
    "r": 23,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 126.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.17494,
    "h": 143.9
  },
  "luminance": 0.19954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #178F24

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

Preview Lab → · Contrast checker → · Palette generator →

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