#178A24#178A24

#178A24 is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.169 H 144.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#178A24
RGBrgb(23, 138, 36)
HSLhsl(127, 71%, 32%)
HSVhsv(127, 83%, 54%)
CMYKcmyk(83.3%, 0%, 73.9%, 45.9%)
CIE-LABlab(50.08, -50.69, 43.66)
CIE-LCHlch(50.08, 66.90, 139.26°)
OKLaboklab(55.3% -0.137 0.0993)
OKLCHoklch(55.3% 0.169 144.1)
XYZxyz(9.7596, 18.4853, 4.7224)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A24 #8A177D
analogous
#438A17 #178A24 #178A5E
triadic
#178A24 #24178A #8A2417
tetradic
#178A24 #17438A #8A177D #8A5E17
square
#178A24 #17438A #8A177D #8A5E17
split-complementary
#178A24 #5E178A #8A1743
monochromatic
#062109 #0E5616 #178A24 #20BE32 #3DDF4F

Accessibility & contrast

On white

4.47
#178A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#178A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A24
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A24#FFFFFF#000000##000000
##178A241.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C13
Deuteranopia (green-blind)
#81742F
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a24;
/* rgb */ color: rgb(23, 138, 36);
/* oklch */ color: oklch(55.3% 0.169 144.1);
Tailwind
colors: {
  custom: {
    50: '#6cad65',
    500: '#178a24',
    950: '#000000',
  },
}
SCSS
$custom: #178a24;
$custom-light: #6cad65;
$custom-dark: #000000;
JSON
{
  "hex": "#178a24",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 126.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.16922,
    "h": 144.1
  },
  "luminance": 0.18486
}

Semantic roles & 50–950 ramp

primary
#178A24
secondary
#BE3FAF
accent
#3ADAEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A24

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

Preview Lab → · Contrast checker → · Palette generator →

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