#187951#187951

#187951 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.2% C 0.107 H 160.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#187951
RGBrgb(24, 121, 81)
HSLhsl(155, 67%, 28%)
HSVhsv(155, 80%, 47%)
CMYKcmyk(80.2%, 0%, 33.1%, 52.5%)
CIE-LABlab(44.89, -37.13, 14.40)
CIE-LCHlch(44.89, 39.82, 158.81°)
OKLaboklab(51.21% -0.1009 0.0365)
OKLCHoklch(51.21% 0.107 160.1)
XYZxyz(8.6983, 14.4620, 10.1160)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187951 #791840
analogous
#187920 #187951 #187079
triadic
#187951 #511879 #795118
tetradic
#187951 #201879 #791840 #707918
square
#187951 #201879 #791840 #707918
split-complementary
#187951 #791870 #792018
monochromatic
#051A11 #0E462F #187951 #22AC73 #35D794

Accessibility & contrast

On white

5.39
#187951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#187951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187951
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187951#FFFFFF#000000##FFFFFF
##1879511.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4F
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187951;
/* rgb */ color: rgb(24, 121, 81);
/* oklch */ color: oklch(51.2% 0.107 160.1);
Tailwind
colors: {
  custom: {
    50: '#66a082',
    500: '#187951',
    950: '#000000',
  },
}
SCSS
$custom: #187951;
$custom-light: #66a082;
$custom-dark: #000000;
JSON
{
  "hex": "#187951",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 81
  },
  "hsl": {
    "h": 155.258,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.10729,
    "h": 160.1
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#187951
secondary
#AE3F6D
accent
#3E85EA
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #187951

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

Preview Lab → · Contrast checker → · Palette generator →

#187951 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva