#178A4F#178A4F

#178A4F is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.9% C 0.133 H 154.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#178A4F
RGBrgb(23, 138, 79)
HSLhsl(149, 71%, 32%)
HSVhsv(149, 83%, 54%)
CMYKcmyk(83.3%, 0%, 42.8%, 45.9%)
CIE-LABlab(50.60, -44.49, 23.18)
CIE-LCHlch(50.60, 50.16, 152.48°)
OKLaboklab(55.9% -0.1197 0.0575)
OKLCHoklch(55.9% 0.133 154.3)
XYZxyz(10.8521, 18.9223, 10.4760)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A4F #8A1752
analogous
#198A17 #178A4F #178A89
triadic
#178A4F #4F178A #8A4F17
tetradic
#178A4F #17198A #8A1752 #8A8917
square
#178A4F #17198A #8A1752 #8A8917
split-complementary
#178A4F #89178A #8A1719
monochromatic
#062113 #0E5631 #178A4F #20BE6D #3DDF8C

Accessibility & contrast

On white

4.39
#178A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#178A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A4F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A4F#FFFFFF#000000##000000
##178A4F1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7E4B
Deuteranopia (green-blind)
#7D7553
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #178a4f;
/* rgb */ color: rgb(23, 138, 79);
/* oklch */ color: oklch(55.9% 0.133 154.3);
Tailwind
colors: {
  custom: {
    50: '#6aad81',
    500: '#178a4f',
    950: '#000000',
  },
}
SCSS
$custom: #178a4f;
$custom-light: #6aad81;
$custom-dark: #000000;
JSON
{
  "hex": "#178a4f",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 149.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.559,
    "c": 0.13277,
    "h": 154.3
  },
  "luminance": 0.18924
}

Semantic roles & 50–950 ramp

primary
#178A4F
secondary
#BE3F80
accent
#3A96EE
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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