#187F54#187F54

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

Color values

HEX#187F54
RGBrgb(24, 127, 84)
HSLhsl(155, 68%, 30%)
HSVhsv(155, 81%, 50%)
CMYKcmyk(81.1%, 0%, 33.9%, 50.2%)
CIE-LABlab(46.99, -38.94, 15.53)
CIE-LCHlch(46.99, 41.92, 158.25°)
OKLaboklab(52.96% -0.1057 0.0393)
OKLCHoklch(52.96% 0.113 159.6)
XYZxyz(9.5653, 16.0119, 10.9723)
Luminance0.1601 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F54 #7F1843
analogous
#187F20 #187F54 #18777F
triadic
#187F54 #54187F #7F5418
tetradic
#187F54 #20187F #7F1843 #777F18
square
#187F54 #20187F #7F1843 #777F18
split-complementary
#187F54 #7F1877 #7F2018
monochromatic
#051A11 #0E4C32 #187F54 #22B276 #38D996

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187F54#FFFFFF#000000##FFFFFF
##187F541.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)
#7D7551
Deuteranopia (green-blind)
#716C57
Tritanopia (blue-blind)
#007E74
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f54;
/* rgb */ color: rgb(24, 127, 84);
/* oklch */ color: oklch(53.0% 0.113 159.6);
Tailwind
colors: {
  custom: {
    50: '#68a584',
    500: '#187f54',
    950: '#000000',
  },
}
SCSS
$custom: #187f54;
$custom-light: #68a584;
$custom-dark: #000000;
JSON
{
  "hex": "#187f54",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 84
  },
  "hsl": {
    "h": 154.951,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52958,
    "c": 0.11274,
    "h": 159.6
  },
  "luminance": 0.16013
}

Semantic roles & 50–950 ramp

primary
#187F54
secondary
#B33F70
accent
#3D86EB
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187F54

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

Preview Lab → · Contrast checker → · Palette generator →

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