#24786C#24786C

#24786C is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 181.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#24786C
RGBrgb(36, 120, 108)
HSLhsl(171, 54%, 31%)
HSVhsv(171, 70%, 47%)
CMYKcmyk(70%, 0%, 10%, 52.9%)
CIE-LABlab(45.48, -27.80, -0.67)
CIE-LCHlch(45.48, 27.81, 181.39°)
OKLaboklab(51.99% -0.081 -0.0023)
OKLCHoklch(51.99% 0.081 181.6)
XYZxyz(10.1495, 14.8896, 16.5235)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24786C #782430
analogous
#247842 #24786C #245A78
triadic
#24786C #6C2478 #786C24
tetradic
#24786C #422478 #782430 #5A7824
square
#24786C #422478 #782430 #5A7824
split-complementary
#24786C #78245A #784224
monochromatic
#081A17 #164942 #24786C #32A796 #4DCAB8

Accessibility & contrast

On white

5.28
#24786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#24786C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24786C
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24786C#FFFFFF#000000##FFFFFF
##24786C1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716C
Deuteranopia (green-blind)
#66686D
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #24786c;
/* rgb */ color: rgb(36, 120, 108);
/* oklch */ color: oklch(52.0% 0.081 181.6);
Tailwind
colors: {
  custom: {
    50: '#6b9f96',
    500: '#24786c',
    950: '#000000',
  },
}
SCSS
$custom: #24786c;
$custom-light: #6b9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#24786c",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 171.429,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.08102,
    "h": 181.6
  },
  "luminance": 0.14891
}

Semantic roles & 50–950 ramp

primary
#24786C
secondary
#AB4D5B
accent
#4B60DD
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #24786C

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

Preview Lab → · Contrast checker → · Palette generator →

#24786C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva