#178E30#178E30

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

Color values

HEX#178E30
RGBrgb(23, 142, 48)
HSLhsl(133, 72%, 32%)
HSVhsv(133, 84%, 56%)
CMYKcmyk(83.8%, 0%, 66.2%, 44.3%)
CIE-LABlab(51.54, -50.77, 40.14)
CIE-LCHlch(51.54, 64.72, 141.67°)
OKLaboklab(56.55% -0.1367 0.0933)
OKLCHoklch(56.55% 0.166 145.7)
XYZxyz(10.5591, 19.7403, 6.0495)
Luminance0.1974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178E30 #8E1775
analogous
#3A8E17 #178E30 #178E6C
triadic
#178E30 #30178E #8E3017
tetradic
#178E30 #173A8E #8E1775 #8E6C17
square
#178E30 #173A8E #8E1775 #8E6C17
split-complementary
#178E30 #6C178E #8E173A
monochromatic
#06250C #0E591E #178E30 #20C342 #3FE061

Accessibility & contrast

On white

4.24
#178E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#178E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178E30
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178E30#FFFFFF#000000##000000
##178E301.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#847738
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #178e30;
/* rgb */ color: rgb(23, 142, 48);
/* oklch */ color: oklch(56.6% 0.166 145.7);
Tailwind
colors: {
  custom: {
    50: '#6cb06c',
    500: '#178e30',
    950: '#000000',
  },
}
SCSS
$custom: #178e30;
$custom-light: #6cb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#178e30",
  "rgb": {
    "r": 23,
    "g": 142,
    "b": 48
  },
  "hsl": {
    "h": 132.605,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56553,
    "c": 0.16554,
    "h": 145.7
  },
  "luminance": 0.19742
}

Semantic roles & 50–950 ramp

primary
#178E30
secondary
#C040A5
accent
#39C9EF
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A

Preview Lab

Preview with #178E30

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

Preview Lab → · Contrast checker → · Palette generator →

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