#187A5F#187A5F

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

Color values

HEX#187A5F
RGBrgb(24, 122, 95)
HSLhsl(163, 67%, 29%)
HSVhsv(163, 80%, 48%)
CMYKcmyk(80.3%, 0%, 22.1%, 52.2%)
CIE-LABlab(45.55, -34.07, 7.10)
CIE-LCHlch(45.55, 34.80, 168.22°)
OKLaboklab(51.86% -0.0947 0.0181)
OKLCHoklch(51.86% 0.096 169.2)
XYZxyz(9.4007, 14.9383, 13.2122)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A5F #7A1833
analogous
#187A2E #187A5F #18647A
triadic
#187A5F #5F187A #7A5F18
tetradic
#187A5F #2E187A #7A1833 #647A18
square
#187A5F #2E187A #7A1833 #647A18
split-complementary
#187A5F #7A1864 #7A2E18
monochromatic
#051A14 #0E4737 #187A5F #22AD87 #35D7AB

Accessibility & contrast

On white

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

On black

3.99
#187A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##187A5F#FFFFFF#000000##FFFFFF
##187A5F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #187a5f;
/* rgb */ color: rgb(24, 122, 95);
/* oklch */ color: oklch(51.9% 0.096 169.2);
Tailwind
colors: {
  custom: {
    50: '#67a18c',
    500: '#187a5f',
    950: '#000000',
  },
}
SCSS
$custom: #187a5f;
$custom-light: #67a18c;
$custom-dark: #000000;
JSON
{
  "hex": "#187a5f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 163.469,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.09647,
    "h": 169.2
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#187A5F
secondary
#AF3F5E
accent
#3E6DEA
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #187A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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