#187151#187151

#187151 is a mid, moderate teal. Relative luminance 0.126; OKLCH L 49.0% C 0.096 H 163.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#187151
RGBrgb(24, 113, 81)
HSLhsl(158, 65%, 27%)
HSVhsv(158, 79%, 44%)
CMYKcmyk(78.8%, 0%, 28.3%, 55.7%)
CIE-LABlab(42.15, -33.68, 10.61)
CIE-LCHlch(42.15, 35.31, 162.51°)
OKLaboklab(48.95% -0.0923 0.0271)
OKLCHoklch(48.95% 0.096 163.7)
XYZxyz(7.7662, 12.5976, 9.8053)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187151 #711838
analogous
#187125 #187151 #186571
triadic
#187151 #511871 #715118
tetradic
#187151 #251871 #711838 #657118
square
#187151 #251871 #711838 #657118
split-complementary
#187151 #711865 #712518
monochromatic
#051912 #0D3F2D #187151 #23A375 #30D399

Accessibility & contrast

On white

5.97
#187151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#187151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187151
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187151#FFFFFF#000000##FFFFFF
##1871511.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684F
Deuteranopia (green-blind)
#646053
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #187151;
/* rgb */ color: rgb(24, 113, 81);
/* oklch */ color: oklch(49.0% 0.096 163.7);
Tailwind
colors: {
  custom: {
    50: '#649a82',
    500: '#187151',
    950: '#000000',
  },
}
SCSS
$custom: #187151;
$custom-light: #649a82;
$custom-dark: #000000;
JSON
{
  "hex": "#187151",
  "rgb": {
    "r": 24,
    "g": 113,
    "b": 81
  },
  "hsl": {
    "h": 158.427,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.09622,
    "h": 163.7
  },
  "luminance": 0.12599
}

Semantic roles & 50–950 ramp

primary
#187151
secondary
#A63E64
accent
#407CE8
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #187151

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

Preview Lab → · Contrast checker → · Palette generator →

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