#178A28#178A28

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

Color values

HEX#178A28
RGBrgb(23, 138, 40)
HSLhsl(129, 71%, 32%)
HSVhsv(129, 83%, 54%)
CMYKcmyk(83.3%, 0%, 71%, 45.9%)
CIE-LABlab(50.11, -50.31, 42.07)
CIE-LCHlch(50.11, 65.58, 140.10°)
OKLaboklab(55.34% -0.1358 0.0965)
OKLCHoklch(55.34% 0.167 144.6)
XYZxyz(9.8241, 18.5111, 5.0623)
Luminance0.1851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A28 #8A1779
analogous
#3F8A17 #178A28 #178A62
triadic
#178A28 #28178A #8A2817
tetradic
#178A28 #173F8A #8A1779 #8A6217
square
#178A28 #173F8A #8A1779 #8A6217
split-complementary
#178A28 #62178A #8A173F
monochromatic
#06210A #0E5619 #178A28 #20BE37 #3DDF55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##178A28#FFFFFF#000000##000000
##178A281.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)
#8D7C1A
Deuteranopia (green-blind)
#807432
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #178a28;
/* rgb */ color: rgb(23, 138, 40);
/* oklch */ color: oklch(55.3% 0.167 144.6);
Tailwind
colors: {
  custom: {
    50: '#6cad67',
    500: '#178a28',
    950: '#000000',
  },
}
SCSS
$custom: #178a28;
$custom-light: #6cad67;
$custom-dark: #000000;
JSON
{
  "hex": "#178a28",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 128.87,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5534,
    "c": 0.16658,
    "h": 144.6
  },
  "luminance": 0.18512
}

Semantic roles & 50–950 ramp

primary
#178A28
secondary
#BE3FAB
accent
#3AD3EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #178A28

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

Preview Lab → · Contrast checker → · Palette generator →

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