#24787F#24787F

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

Color values

HEX#24787F
RGBrgb(36, 120, 127)
HSLhsl(185, 56%, 32%)
HSVhsv(185, 72%, 50%)
CMYKcmyk(71.7%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.10, -21.99, -11.08)
CIE-LCHlch(46.10, 24.62, 206.74°)
OKLaboklab(52.69% -0.0719 -0.0307)
OKLCHoklch(52.69% 0.078 203.1)
XYZxyz(11.2731, 15.3390, 22.4412)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24787F #7F2B24
analogous
#247F58 #24787F #244B7F
triadic
#24787F #7F2478 #787F24
tetradic
#24787F #58247F #7F2B24 #4B7F24
square
#24787F #58247F #7F2B24 #4B7F24
split-complementary
#24787F #7F244B #7F5824
monochromatic
#091E20 #164B4F #24787F #32A5AF #50C4CD

Accessibility & contrast

On white

5.16
#24787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#24787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24787F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24787F#FFFFFF#000000##FFFFFF
##24787F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24787f;
/* rgb */ color: rgb(36, 120, 127);
/* oklch */ color: oklch(52.7% 0.078 203.1);
Tailwind
colors: {
  custom: {
    50: '#6d9fa4',
    500: '#24787f',
    950: '#000000',
  },
}
SCSS
$custom: #24787f;
$custom-light: #6d9fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#24787f",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 184.615,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.0782,
    "h": 203.1
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

primary
#24787F
secondary
#B1554E
accent
#5449DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #24787F

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

Preview Lab → · Contrast checker → · Palette generator →

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