#178A30#178A30

#178A30 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.4% C 0.161 H 145.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#178A30
RGBrgb(23, 138, 48)
HSLhsl(133, 71%, 32%)
HSVhsv(133, 83%, 54%)
CMYKcmyk(83.3%, 0%, 65.2%, 45.9%)
CIE-LABlab(50.18, -49.42, 38.62)
CIE-LCHlch(50.18, 62.72, 142.00°)
OKLaboklab(55.42% -0.1331 0.0901)
OKLCHoklch(55.42% 0.161 145.9)
XYZxyz(9.9746, 18.5713, 5.8547)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A30 #8A1771
analogous
#388A17 #178A30 #178A6A
triadic
#178A30 #30178A #8A3017
tetradic
#178A30 #17388A #8A1771 #8A6A17
square
#178A30 #17388A #8A1771 #8A6A17
split-complementary
#178A30 #6A178A #8A1738
monochromatic
#06210C #0E561E #178A30 #20BE42 #3DDF60

Accessibility & contrast

On white

4.45
#178A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#178A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A30
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A30#FFFFFF#000000##000000
##178A301.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D25
Deuteranopia (green-blind)
#807438
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a30;
/* rgb */ color: rgb(23, 138, 48);
/* oklch */ color: oklch(55.4% 0.161 145.9);
Tailwind
colors: {
  custom: {
    50: '#6bad6c',
    500: '#178a30',
    950: '#000000',
  },
}
SCSS
$custom: #178a30;
$custom-light: #6bad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#178a30",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 133.043,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.1607,
    "h": 145.9
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#178A30
secondary
#BE3FA2
accent
#3AC7EE
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #178A30

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

Preview Lab → · Contrast checker → · Palette generator →

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