#187A54#187A54

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

Color values

HEX#187A54
RGBrgb(24, 122, 84)
HSLhsl(157, 67%, 29%)
HSVhsv(157, 80%, 48%)
CMYKcmyk(80.3%, 0%, 31.1%, 52.2%)
CIE-LABlab(45.29, -36.84, 13.21)
CIE-LCHlch(45.29, 39.14, 160.28°)
OKLaboklab(51.56% -0.1004 0.0335)
OKLCHoklch(51.56% 0.106 161.5)
XYZxyz(8.9355, 14.7523, 10.7623)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A54 #7A183E
analogous
#187A23 #187A54 #186F7A
triadic
#187A54 #54187A #7A5418
tetradic
#187A54 #23187A #7A183E #6F7A18
square
#187A54 #23187A #7A183E #6F7A18
split-complementary
#187A54 #7A186F #7A2318
monochromatic
#051A12 #0E4731 #187A54 #22AD77 #35D798

Accessibility & contrast

On white

5.32
#187A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#187A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A54
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A54#FFFFFF#000000##FFFFFF
##187A541.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #187a54;
/* rgb */ color: rgb(24, 122, 84);
/* oklch */ color: oklch(51.6% 0.106 161.5);
Tailwind
colors: {
  custom: {
    50: '#67a184',
    500: '#187a54',
    950: '#000000',
  },
}
SCSS
$custom: #187a54;
$custom-light: #67a184;
$custom-dark: #000000;
JSON
{
  "hex": "#187a54",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 84
  },
  "hsl": {
    "h": 156.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51561,
    "c": 0.10588,
    "h": 161.5
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#187A54
secondary
#AF3F6A
accent
#3E81EA
background
#F6FAF8
surface
#EBF3EF
border
#C6CDCA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #187A54

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

Preview Lab → · Contrast checker → · Palette generator →

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