#187B4E#187B4E

#187B4E is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.113 H 157.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#187B4E
RGBrgb(24, 123, 78)
HSLhsl(153, 67%, 29%)
HSVhsv(153, 80%, 48%)
CMYKcmyk(80.5%, 0%, 36.6%, 51.8%)
CIE-LABlab(45.51, -38.64, 16.98)
CIE-LCHlch(45.51, 42.21, 156.28°)
OKLaboklab(51.7% -0.1045 0.0427)
OKLCHoklch(51.7% 0.113 157.8)
XYZxyz(8.8339, 14.9091, 9.6184)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B4E #7B1845
analogous
#187B1C #187B4E #18777B
triadic
#187B4E #4E187B #7B4E18
tetradic
#187B4E #1C187B #7B1845 #777B18
square
#187B4E #1C187B #7B1845 #777B18
split-complementary
#187B4E #7B1877 #7B1C18
monochromatic
#051A10 #0E482E #187B4E #22AE6E #36D88E

Accessibility & contrast

On white

5.27
#187B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#187B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187B4E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187B4E#FFFFFF#000000##FFFFFF
##187B4E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b4e;
/* rgb */ color: rgb(24, 123, 78);
/* oklch */ color: oklch(51.7% 0.113 157.8);
Tailwind
colors: {
  custom: {
    50: '#67a280',
    500: '#187b4e',
    950: '#000000',
  },
}
SCSS
$custom: #187b4e;
$custom-light: #67a280;
$custom-dark: #000000;
JSON
{
  "hex": "#187b4e",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 152.727,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.11294,
    "h": 157.8
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#187B4E
secondary
#B03F72
accent
#3E8CEA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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