#187F52#187F52

#187F52 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 52.9% C 0.115 H 158.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#187F52
RGBrgb(24, 127, 82)
HSLhsl(154, 68%, 30%)
HSVhsv(154, 81%, 50%)
CMYKcmyk(81.1%, 0%, 35.4%, 50.2%)
CIE-LABlab(46.95, -39.39, 16.63)
CIE-LCHlch(46.95, 42.76, 157.11°)
OKLaboklab(52.91% -0.1067 0.0419)
OKLCHoklch(52.91% 0.115 158.5)
XYZxyz(9.4881, 15.9810, 10.5656)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F52 #7F1845
analogous
#187F1E #187F52 #18797F
triadic
#187F52 #52187F #7F5218
tetradic
#187F52 #1E187F #7F1845 #797F18
square
#187F52 #1E187F #7F1845 #797F18
split-complementary
#187F52 #7F1879 #7F1E18
monochromatic
#051A11 #0E4C31 #187F52 #22B273 #38D993

Accessibility & contrast

On white

5.00
#187F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#187F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F52
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F52#FFFFFF#000000##FFFFFF
##187F521.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E754F
Deuteranopia (green-blind)
#726C55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f52;
/* rgb */ color: rgb(24, 127, 82);
/* oklch */ color: oklch(52.9% 0.115 158.5);
Tailwind
colors: {
  custom: {
    50: '#68a583',
    500: '#187f52',
    950: '#000000',
  },
}
SCSS
$custom: #187f52;
$custom-light: #68a583;
$custom-dark: #000000;
JSON
{
  "hex": "#187f52",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 153.786,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.11463,
    "h": 158.5
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#187F52
secondary
#B33F72
accent
#3D89EB
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F52

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

Preview Lab → · Contrast checker → · Palette generator →

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