#187C52#187C52

#187C52 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.1% C 0.111 H 159.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#187C52
RGBrgb(24, 124, 82)
HSLhsl(155, 68%, 29%)
HSVhsv(155, 81%, 49%)
CMYKcmyk(80.6%, 0%, 33.9%, 51.4%)
CIE-LABlab(45.93, -38.15, 15.24)
CIE-LCHlch(45.93, 41.08, 158.22°)
OKLaboklab(52.07% -0.1036 0.0385)
OKLCHoklch(52.07% 0.111 159.6)
XYZxyz(9.1064, 15.2176, 10.4384)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C52 #7C1842
analogous
#187C20 #187C52 #18747C
triadic
#187C52 #52187C #7C5218
tetradic
#187C52 #20187C #7C1842 #747C18
square
#187C52 #20187C #7C1842 #747C18
split-complementary
#187C52 #7C1874 #7C2018
monochromatic
#051A11 #0E4930 #187C52 #22AF74 #36D894

Accessibility & contrast

On white

5.19
#187C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#187C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C52
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C52#FFFFFF#000000##FFFFFF
##187C521.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#6F6955
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c52;
/* rgb */ color: rgb(24, 124, 82);
/* oklch */ color: oklch(52.1% 0.111 159.6);
Tailwind
colors: {
  custom: {
    50: '#67a382',
    500: '#187c52',
    950: '#000000',
  },
}
SCSS
$custom: #187c52;
$custom-light: #67a382;
$custom-dark: #000000;
JSON
{
  "hex": "#187c52",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 154.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52072,
    "c": 0.1105,
    "h": 159.6
  },
  "luminance": 0.15219
}

Semantic roles & 50–950 ramp

primary
#187C52
secondary
#B13F6F
accent
#3D86EA
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187C52

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

Preview Lab → · Contrast checker → · Palette generator →

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