#187B4F#187B4F

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

Color values

HEX#187B4F
RGBrgb(24, 123, 79)
HSLhsl(153, 67%, 29%)
HSVhsv(153, 80%, 48%)
CMYKcmyk(80.5%, 0%, 35.8%, 51.8%)
CIE-LABlab(45.53, -38.42, 16.43)
CIE-LCHlch(45.53, 41.78, 156.85°)
OKLaboklab(51.72% -0.104 0.0414)
OKLCHoklch(51.72% 0.112 158.3)
XYZxyz(8.8700, 14.9235, 9.8087)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187B4F #7B1844
analogous
#187B1D #187B4F #18767B
triadic
#187B4F #4F187B #7B4F18
tetradic
#187B4F #1D187B #7B1844 #767B18
square
#187B4F #1D187B #7B1844 #767B18
split-complementary
#187B4F #7B1876 #7B1D18
monochromatic
#051A10 #0E482E #187B4F #22AE70 #36D890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##187B4F#FFFFFF#000000##FFFFFF
##187B4F1.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)
#7A714C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187b4f;
/* rgb */ color: rgb(24, 123, 79);
/* oklch */ color: oklch(51.7% 0.112 158.3);
Tailwind
colors: {
  custom: {
    50: '#67a280',
    500: '#187b4f',
    950: '#000000',
  },
}
SCSS
$custom: #187b4f;
$custom-light: #67a280;
$custom-dark: #000000;
JSON
{
  "hex": "#187b4f",
  "rgb": {
    "r": 24,
    "g": 123,
    "b": 79
  },
  "hsl": {
    "h": 153.333,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.11197,
    "h": 158.3
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#187B4F
secondary
#B03F71
accent
#3E8AEA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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