#187C4F#187C4F

#187C4F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.113 H 158.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#187C4F
RGBrgb(24, 124, 79)
HSLhsl(153, 68%, 29%)
HSVhsv(153, 81%, 49%)
CMYKcmyk(80.6%, 0%, 36.3%, 51.4%)
CIE-LABlab(45.87, -38.83, 16.89)
CIE-LCHlch(45.87, 42.34, 156.49°)
OKLaboklab(52% -0.1051 0.0425)
OKLCHoklch(52% 0.113 158)
XYZxyz(8.9947, 15.1729, 9.8502)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187C4F #7C1845
analogous
#187C1D #187C4F #18777C
triadic
#187C4F #4F187C #7C4F18
tetradic
#187C4F #1D187C #7C1845 #777C18
square
#187C4F #1D187C #7C1845 #777C18
split-complementary
#187C4F #7C1877 #7C1D18
monochromatic
#051A10 #0E492E #187C4F #22AF70 #36D88F

Accessibility & contrast

On white

5.20
#187C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#187C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187C4F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187C4F#FFFFFF#000000##FFFFFF
##187C4F1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #187c4f;
/* rgb */ color: rgb(24, 124, 79);
/* oklch */ color: oklch(52.0% 0.113 158.0);
Tailwind
colors: {
  custom: {
    50: '#67a380',
    500: '#187c4f',
    950: '#000000',
  },
}
SCSS
$custom: #187c4f;
$custom-light: #67a380;
$custom-dark: #000000;
JSON
{
  "hex": "#187c4f",
  "rgb": {
    "r": 24,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 153,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52002,
    "c": 0.11336,
    "h": 158
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#187C4F
secondary
#B13F72
accent
#3D8BEA
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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