#178A52#178A52

#178A52 is a mid, vivid teal. Relative luminance 0.190; OKLCH L 56.0% C 0.130 H 155.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#178A52
RGBrgb(23, 138, 82)
HSLhsl(151, 71%, 32%)
HSVhsv(151, 83%, 54%)
CMYKcmyk(83.3%, 0%, 40.6%, 45.9%)
CIE-LABlab(50.65, -43.88, 21.58)
CIE-LCHlch(50.65, 48.90, 153.81°)
OKLaboklab(55.96% -0.1182 0.0538)
OKLCHoklch(55.96% 0.13 155.5)
XYZxyz(10.9637, 18.9669, 11.0642)
Luminance0.1897 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178A52 #8A174F
analogous
#178A19 #178A52 #17898A
triadic
#178A52 #52178A #8A5217
tetradic
#178A52 #19178A #8A174F #898A17
square
#178A52 #19178A #8A174F #898A17
split-complementary
#178A52 #8A1789 #8A1917
monochromatic
#062114 #0E5633 #178A52 #20BE71 #3DDF90

Accessibility & contrast

On white

4.38
#178A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#178A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178A52
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178A52#FFFFFF#000000##000000
##178A521.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7C7556
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #178a52;
/* rgb */ color: rgb(23, 138, 82);
/* oklch */ color: oklch(56.0% 0.130 155.5);
Tailwind
colors: {
  custom: {
    50: '#6aad83',
    500: '#178a52',
    950: '#000000',
  },
}
SCSS
$custom: #178a52;
$custom-light: #6aad83;
$custom-dark: #000000;
JSON
{
  "hex": "#178a52",
  "rgb": {
    "r": 23,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 150.783,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55961,
    "c": 0.12989,
    "h": 155.5
  },
  "luminance": 0.18968
}

Semantic roles & 50–950 ramp

primary
#178A52
secondary
#BE3F7D
accent
#3A92EE
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178A52

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

Preview Lab → · Contrast checker → · Palette generator →

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