#187251#187251

#187251 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.2% C 0.098 H 163.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#187251
RGBrgb(24, 114, 81)
HSLhsl(158, 65%, 27%)
HSVhsv(158, 79%, 45%)
CMYKcmyk(78.9%, 0%, 28.9%, 55.3%)
CIE-LABlab(42.49, -34.12, 11.09)
CIE-LCHlch(42.49, 35.88, 161.99°)
OKLaboklab(49.24% -0.0934 0.0283)
OKLCHoklch(49.24% 0.098 163.2)
XYZxyz(7.8783, 12.8220, 9.8427)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187251 #721839
analogous
#187224 #187251 #186672
triadic
#187251 #511872 #725118
tetradic
#187251 #241872 #721839 #667218
square
#187251 #241872 #721839 #667218
split-complementary
#187251 #721866 #722418
monochromatic
#051912 #0D3F2D #187251 #23A575 #31D498

Accessibility & contrast

On white

5.89
#187251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#187251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187251
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187251#FFFFFF#000000##FFFFFF
##1872511.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #187251;
/* rgb */ color: rgb(24, 114, 81);
/* oklch */ color: oklch(49.2% 0.098 163.2);
Tailwind
colors: {
  custom: {
    50: '#659b82',
    500: '#187251',
    950: '#000000',
  },
}
SCSS
$custom: #187251;
$custom-light: #659b82;
$custom-dark: #000000;
JSON
{
  "hex": "#187251",
  "rgb": {
    "r": 24,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 158,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.0976,
    "h": 163.2
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#187251
secondary
#A73E65
accent
#407DE8
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #187251

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

Preview Lab → · Contrast checker → · Palette generator →

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