#187F4F#187F4F

#187F4F is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.118 H 157.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#187F4F
RGBrgb(24, 127, 79)
HSLhsl(152, 68%, 30%)
HSVhsv(152, 81%, 50%)
CMYKcmyk(81.1%, 0%, 37.8%, 50.2%)
CIE-LABlab(46.89, -40.05, 18.26)
CIE-LCHlch(46.89, 44.02, 155.49°)
OKLaboklab(52.84% -0.1082 0.0458)
OKLCHoklch(52.84% 0.118 157)
XYZxyz(9.3764, 15.9363, 9.9775)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187F4F #7F1848
analogous
#187F1C #187F4F #187C7F
triadic
#187F4F #4F187F #7F4F18
tetradic
#187F4F #1C187F #7F1848 #7C7F18
square
#187F4F #1C187F #7F1848 #7C7F18
split-complementary
#187F4F #7F187C #7F1C18
monochromatic
#051A10 #0E4C2F #187F4F #22B26F #38D98E

Accessibility & contrast

On white

5.02
#187F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#187F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187F4F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187F4F#FFFFFF#000000##FFFFFF
##187F4F1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #187f4f;
/* rgb */ color: rgb(24, 127, 79);
/* oklch */ color: oklch(52.8% 0.118 157.0);
Tailwind
colors: {
  custom: {
    50: '#68a580',
    500: '#187f4f',
    950: '#000000',
  },
}
SCSS
$custom: #187f4f;
$custom-light: #68a580;
$custom-dark: #000000;
JSON
{
  "hex": "#187f4f",
  "rgb": {
    "r": 24,
    "g": 127,
    "b": 79
  },
  "hsl": {
    "h": 152.039,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52844,
    "c": 0.11752,
    "h": 157
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#187F4F
secondary
#B33F75
accent
#3D8EEB
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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