#187A57#187A57

#187A57 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.6% C 0.103 H 163.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#187A57
RGBrgb(24, 122, 87)
HSLhsl(159, 67%, 29%)
HSVhsv(159, 80%, 48%)
CMYKcmyk(80.3%, 0%, 28.7%, 52.2%)
CIE-LABlab(45.36, -36.12, 11.54)
CIE-LCHlch(45.36, 37.92, 162.28°)
OKLaboklab(51.64% -0.0989 0.0294)
OKLCHoklch(51.64% 0.103 163.4)
XYZxyz(9.0555, 14.8003, 11.3945)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A57 #7A183B
analogous
#187A26 #187A57 #186C7A
triadic
#187A57 #57187A #7A5718
tetradic
#187A57 #26187A #7A183B #6C7A18
square
#187A57 #26187A #7A183B #6C7A18
split-complementary
#187A57 #7A186C #7A2618
monochromatic
#051A12 #0E4733 #187A57 #22AD7B #35D79D

Accessibility & contrast

On white

5.30
#187A57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#187A57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A57
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A57#FFFFFF#000000##FFFFFF
##187A571.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787055
Deuteranopia (green-blind)
#6C6859
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a57;
/* rgb */ color: rgb(24, 122, 87);
/* oklch */ color: oklch(51.6% 0.103 163.4);
Tailwind
colors: {
  custom: {
    50: '#67a186',
    500: '#187a57',
    950: '#000000',
  },
}
SCSS
$custom: #187a57;
$custom-light: #67a186;
$custom-dark: #000000;
JSON
{
  "hex": "#187a57",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 87
  },
  "hsl": {
    "h": 158.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.10316,
    "h": 163.4
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#187A57
secondary
#AF3F67
accent
#3E7BEA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A57

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

Preview Lab → · Contrast checker → · Palette generator →

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