#187854#187854

#187854 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.0% C 0.103 H 162.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#187854
RGBrgb(24, 120, 84)
HSLhsl(158, 67%, 28%)
HSVhsv(158, 80%, 47%)
CMYKcmyk(80%, 0%, 30%, 52.9%)
CIE-LABlab(44.61, -35.99, 12.26)
CIE-LCHlch(44.61, 38.02, 161.18°)
OKLaboklab(51% -0.0983 0.0312)
OKLCHoklch(51% 0.103 162.4)
XYZxyz(8.6924, 14.2662, 10.6813)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187854 #78183C
analogous
#187824 #187854 #186C78
triadic
#187854 #541878 #785418
tetradic
#187854 #241878 #78183C #6C7818
square
#187854 #241878 #78183C #6C7818
split-complementary
#187854 #78186C #782418
monochromatic
#051A12 #0E4530 #187854 #22AB78 #34D699

Accessibility & contrast

On white

5.45
#187854 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#187854 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187854
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187854#FFFFFF#000000##FFFFFF
##1878541.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766F52
Deuteranopia (green-blind)
#6A6656
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #187854;
/* rgb */ color: rgb(24, 120, 84);
/* oklch */ color: oklch(51.0% 0.103 162.4);
Tailwind
colors: {
  custom: {
    50: '#66a084',
    500: '#187854',
    950: '#000000',
  },
}
SCSS
$custom: #187854;
$custom-light: #66a084;
$custom-dark: #000000;
JSON
{
  "hex": "#187854",
  "rgb": {
    "r": 24,
    "g": 120,
    "b": 84
  },
  "hsl": {
    "h": 157.5,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51,
    "c": 0.10314,
    "h": 162.4
  },
  "luminance": 0.14267
}

Semantic roles & 50–950 ramp

primary
#187854
secondary
#AD3F68
accent
#3E7EEA
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #187854

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

Preview Lab → · Contrast checker → · Palette generator →

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