#178C52#178C52

#178C52 is a mid, vivid teal. Relative luminance 0.195; OKLCH L 56.5% C 0.133 H 155.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#178C52
RGBrgb(23, 140, 82)
HSLhsl(150, 72%, 32%)
HSVhsv(150, 84%, 55%)
CMYKcmyk(83.6%, 0%, 41.4%, 45.1%)
CIE-LABlab(51.32, -44.65, 22.47)
CIE-LCHlch(51.32, 49.99, 153.29°)
OKLaboklab(56.52% -0.1202 0.0559)
OKLCHoklch(56.52% 0.133 155.1)
XYZxyz(11.2533, 19.5461, 11.1607)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#178C52 #8C1751
analogous
#178C17 #178C52 #178C8C
triadic
#178C52 #52178C #8C5217
tetradic
#178C52 #17178C #8C1751 #8C8C17
square
#178C52 #17178C #8C1751 #8C8C17
split-complementary
#178C52 #8C178C #8C1717
monochromatic
#062314 #0E5733 #178C52 #20C171 #3EDF8F

Accessibility & contrast

On white

4.28
#178C52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#178C52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #178C52
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##178C52#FFFFFF#000000##000000
##178C521.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#008A7E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #178c52;
/* rgb */ color: rgb(23, 140, 82);
/* oklch */ color: oklch(56.5% 0.133 155.1);
Tailwind
colors: {
  custom: {
    50: '#6baf83',
    500: '#178c52',
    950: '#000000',
  },
}
SCSS
$custom: #178c52;
$custom-light: #6baf83;
$custom-dark: #000000;
JSON
{
  "hex": "#178c52",
  "rgb": {
    "r": 23,
    "g": 140,
    "b": 82
  },
  "hsl": {
    "h": 150.256,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.13257,
    "h": 155.1
  },
  "luminance": 0.19548
}

Semantic roles & 50–950 ramp

primary
#178C52
secondary
#BF3F7F
accent
#3993EF
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #178C52

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

Preview Lab → · Contrast checker → · Palette generator →

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