#178D45#178D45

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

Color values

HEX#178D45
RGBrgb(23, 141, 69)
HSLhsl(143, 72%, 32%)
HSVhsv(143, 84%, 55%)
CMYKcmyk(83.7%, 0%, 51.1%, 44.7%)
CIE-LABlab(51.45, -47.43, 29.67)
CIE-LCHlch(51.45, 55.95, 147.97°)
OKLaboklab(56.56% -0.1273 0.0721)
OKLCHoklch(56.56% 0.146 150.5)
XYZxyz(10.9514, 19.6602, 8.8467)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178D45 #8D175F
analogous
#248D17 #178D45 #178D80
triadic
#178D45 #45178D #8D4517
tetradic
#178D45 #17248D #8D175F #8D8017
square
#178D45 #17248D #8D175F #8D8017
split-complementary
#178D45 #80178D #8D1724
monochromatic
#062412 #0E582B #178D45 #20C25F #3FE07D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178D45#FFFFFF#000000##000000
##178D451.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)
#8E803F
Deuteranopia (green-blind)
#81774A
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178d45;
/* rgb */ color: rgb(23, 141, 69);
/* oklch */ color: oklch(56.6% 0.146 150.5);
Tailwind
colors: {
  custom: {
    50: '#6baf7a',
    500: '#178d45',
    950: '#000000',
  },
}
SCSS
$custom: #178d45;
$custom-light: #6baf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#178d45",
  "rgb": {
    "r": 23,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 143.39,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.14627,
    "h": 150.5
  },
  "luminance": 0.19662
}

Semantic roles & 50–950 ramp

primary
#178D45
secondary
#C0408E
accent
#39A8EF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #178D45

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

Preview Lab → · Contrast checker → · Palette generator →

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