#187954#187954

#187954 is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.105 H 162.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#187954
RGBrgb(24, 121, 84)
HSLhsl(157, 67%, 28%)
HSVhsv(157, 80%, 47%)
CMYKcmyk(80.2%, 0%, 30.6%, 52.5%)
CIE-LABlab(44.95, -36.42, 12.74)
CIE-LCHlch(44.95, 38.58, 160.72°)
OKLaboklab(51.28% -0.0994 0.0324)
OKLCHoklch(51.28% 0.105 162)
XYZxyz(8.8133, 14.5080, 10.7216)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187954 #79183D
analogous
#187923 #187954 #186D79
triadic
#187954 #541879 #795418
tetradic
#187954 #231879 #79183D #6D7918
square
#187954 #231879 #79183D #6D7918
split-complementary
#187954 #79186D #792318
monochromatic
#051A12 #0E4631 #187954 #22AC77 #35D799

Accessibility & contrast

On white

5.38
#187954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#187954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187954
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187954#FFFFFF#000000##FFFFFF
##1879541.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F52
Deuteranopia (green-blind)
#6B6756
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #187954;
/* rgb */ color: rgb(24, 121, 84);
/* oklch */ color: oklch(51.3% 0.105 162.0);
Tailwind
colors: {
  custom: {
    50: '#66a084',
    500: '#187954',
    950: '#000000',
  },
}
SCSS
$custom: #187954;
$custom-light: #66a084;
$custom-dark: #000000;
JSON
{
  "hex": "#187954",
  "rgb": {
    "r": 24,
    "g": 121,
    "b": 84
  },
  "hsl": {
    "h": 157.113,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.10451,
    "h": 162
  },
  "luminance": 0.14509
}

Semantic roles & 50–950 ramp

primary
#187954
secondary
#AE3F69
accent
#3E80EA
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #187954

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

Preview Lab → · Contrast checker → · Palette generator →

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