#187A4F#187A4F

#187A4F is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.4% C 0.111 H 158.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#187A4F
RGBrgb(24, 122, 79)
HSLhsl(154, 67%, 29%)
HSVhsv(154, 80%, 48%)
CMYKcmyk(80.3%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.19, -38.00, 15.97)
CIE-LCHlch(45.19, 41.22, 157.21°)
OKLaboklab(51.44% -0.103 0.0403)
OKLCHoklch(51.44% 0.111 158.6)
XYZxyz(8.7466, 14.6767, 9.7675)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#187A4F #7A1843
analogous
#187A1E #187A4F #18747A
triadic
#187A4F #4F187A #7A4F18
tetradic
#187A4F #1E187A #7A1843 #747A18
square
#187A4F #1E187A #7A1843 #747A18
split-complementary
#187A4F #7A1874 #7A1E18
monochromatic
#051A11 #0E472E #187A4F #22AD70 #35D790

Accessibility & contrast

On white

5.34
#187A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#187A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #187A4F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##187A4F#FFFFFF#000000##FFFFFF
##187A4F1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704C
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #187a4f;
/* rgb */ color: rgb(24, 122, 79);
/* oklch */ color: oklch(51.4% 0.111 158.6);
Tailwind
colors: {
  custom: {
    50: '#66a180',
    500: '#187a4f',
    950: '#000000',
  },
}
SCSS
$custom: #187a4f;
$custom-light: #66a180;
$custom-dark: #000000;
JSON
{
  "hex": "#187a4f",
  "rgb": {
    "r": 24,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 153.673,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5144,
    "c": 0.11058,
    "h": 158.6
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#187A4F
secondary
#AF3F70
accent
#3E89EA
background
#F6FAF7
surface
#EBF3EE
border
#C6CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #187A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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