#178B24#178B24

#178B24 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.6% C 0.170 H 144.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#178B24
RGBrgb(23, 139, 36)
HSLhsl(127, 72%, 32%)
HSVhsv(127, 83%, 55%)
CMYKcmyk(83.5%, 0%, 74.1%, 45.5%)
CIE-LABlab(50.42, -51.02, 44.01)
CIE-LCHlch(50.42, 67.38, 139.21°)
OKLaboklab(55.59% -0.1379 0.1001)
OKLCHoklch(55.59% 0.17 144)
XYZxyz(9.9037, 18.7736, 4.7704)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178B24 #8B177E
analogous
#448B17 #178B24 #178B5E
triadic
#178B24 #24178B #8B2417
tetradic
#178B24 #17448B #8B177E #8B5E17
square
#178B24 #17448B #8B177E #8B5E17
split-complementary
#178B24 #5E178B #8B1744
monochromatic
#062209 #0E5616 #178B24 #20C032 #3DDF50

Accessibility & contrast

On white

4.42
#178B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#178B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178B24
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178B24#FFFFFF#000000##000000
##178B241.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#81752F
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178b24;
/* rgb */ color: rgb(23, 139, 36);
/* oklch */ color: oklch(55.6% 0.170 144.0);
Tailwind
colors: {
  custom: {
    50: '#6cae65',
    500: '#178b24',
    950: '#000000',
  },
}
SCSS
$custom: #178b24;
$custom-light: #6cae65;
$custom-dark: #000000;
JSON
{
  "hex": "#178b24",
  "rgb": {
    "r": 23,
    "g": 139,
    "b": 36
  },
  "hsl": {
    "h": 126.724,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55588,
    "c": 0.17037,
    "h": 144
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#178B24
secondary
#BF3FB0
accent
#39DAEE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178B24

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

Preview Lab → · Contrast checker → · Palette generator →

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