#187D4F#187D4F

#187D4F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.3% C 0.115 H 157.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#187D4F
RGBrgb(24, 125, 79)
HSLhsl(153, 68%, 29%)
HSVhsv(153, 81%, 49%)
CMYKcmyk(80.8%, 0%, 36.8%, 51%)
CIE-LABlab(46.21, -39.24, 17.35)
CIE-LCHlch(46.21, 42.90, 156.15°)
OKLaboklab(52.28% -0.1061 0.0436)
OKLCHoklch(52.28% 0.115 157.7)
XYZxyz(9.1207, 15.4248, 9.8922)
Luminance0.1543 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187D4F #7D1846
analogous
#187D1D #187D4F #18797D
triadic
#187D4F #4F187D #7D4F18
tetradic
#187D4F #1D187D #7D1846 #797D18
square
#187D4F #1D187D #7D1846 #797D18
split-complementary
#187D4F #7D1879 #7D1D18
monochromatic
#051A10 #0E4A2F #187D4F #22B06F #37D98F

Accessibility & contrast

On white

5.14
#187D4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#187D4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187D4F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187D4F#FFFFFF#000000##FFFFFF
##187D4F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734C
Deuteranopia (green-blind)
#706A52
Tritanopia (blue-blind)
#007C71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187d4f;
/* rgb */ color: rgb(24, 125, 79);
/* oklch */ color: oklch(52.3% 0.115 157.7);
Tailwind
colors: {
  custom: {
    50: '#67a380',
    500: '#187d4f',
    950: '#000000',
  },
}
SCSS
$custom: #187d4f;
$custom-light: #67a380;
$custom-dark: #000000;
JSON
{
  "hex": "#187d4f",
  "rgb": {
    "r": 24,
    "g": 125,
    "b": 79
  },
  "hsl": {
    "h": 152.673,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.11475,
    "h": 157.7
  },
  "luminance": 0.15426
}

Semantic roles & 50–950 ramp

primary
#187D4F
secondary
#B23F73
accent
#3D8CEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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