#187E4F#187E4F

#187E4F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 52.6% C 0.116 H 157.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#187E4F
RGBrgb(24, 126, 79)
HSLhsl(152, 68%, 29%)
HSVhsv(152, 81%, 49%)
CMYKcmyk(81%, 0%, 37.3%, 50.6%)
CIE-LABlab(46.55, -39.65, 17.81)
CIE-LCHlch(46.55, 43.46, 155.81°)
OKLaboklab(52.56% -0.1072 0.0447)
OKLCHoklch(52.56% 0.116 157.3)
XYZxyz(9.2479, 15.6793, 9.9346)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187E4F #7E1847
analogous
#187E1C #187E4F #187A7E
triadic
#187E4F #4F187E #7E4F18
tetradic
#187E4F #1C187E #7E1847 #7A7E18
square
#187E4F #1C187E #7E1847 #7A7E18
split-complementary
#187E4F #7E187A #7E1C18
monochromatic
#051A10 #0E4B2F #187E4F #22B16F #37D98F

Accessibility & contrast

On white

5.08
#187E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#187E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187E4F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187E4F#FFFFFF#000000##FFFFFF
##187E4F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734C
Deuteranopia (green-blind)
#716B52
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #187e4f;
/* rgb */ color: rgb(24, 126, 79);
/* oklch */ color: oklch(52.6% 0.116 157.3);
Tailwind
colors: {
  custom: {
    50: '#67a480',
    500: '#187e4f',
    950: '#000000',
  },
}
SCSS
$custom: #187e4f;
$custom-light: #67a480;
$custom-dark: #000000;
JSON
{
  "hex": "#187e4f",
  "rgb": {
    "r": 24,
    "g": 126,
    "b": 79
  },
  "hsl": {
    "h": 152.353,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52563,
    "c": 0.11613,
    "h": 157.3
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#187E4F
secondary
#B23F74
accent
#3D8DEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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