#24787E#24787E

#24787E is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.078 H 202.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#24787E
RGBrgb(36, 120, 126)
HSLhsl(184, 56%, 32%)
HSVhsv(184, 71%, 49%)
CMYKcmyk(71.4%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.06, -22.31, -10.54)
CIE-LCHlch(46.06, 24.67, 205.28°)
OKLaboklab(52.65% -0.0724 -0.0292)
OKLCHoklch(52.65% 0.078 202)
XYZxyz(11.2083, 15.3131, 22.0996)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24787E #7E2A24
analogous
#247E57 #24787E #244B7E
triadic
#24787E #7E2478 #787E24
tetradic
#24787E #57247E #7E2A24 #4B7E24
square
#24787E #57247E #7E2A24 #4B7E24
split-complementary
#24787E #7E244B #7E5724
monochromatic
#091D1F #164B4E #24787E #32A5AE #50C5CD

Accessibility & contrast

On white

5.17
#24787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#24787E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24787E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24787E#FFFFFF#000000##FFFFFF
##24787E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F737E
Deuteranopia (green-blind)
#61697E
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #24787e;
/* rgb */ color: rgb(36, 120, 126);
/* oklch */ color: oklch(52.6% 0.078 202.0);
Tailwind
colors: {
  custom: {
    50: '#6d9fa3',
    500: '#24787e',
    950: '#000000',
  },
}
SCSS
$custom: #24787e;
$custom-light: #6d9fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#24787e",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.07804,
    "h": 202
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#24787E
secondary
#B0544E
accent
#5349DF
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #24787E

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

Preview Lab → · Contrast checker → · Palette generator →

#24787E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva