#24786A#24786A

#24786A is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.9% C 0.082 H 179.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#24786A
RGBrgb(36, 120, 106)
HSLhsl(170, 54%, 31%)
HSVhsv(170, 70%, 47%)
CMYKcmyk(70%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.42, -28.37, 0.43)
CIE-LCHlch(45.42, 28.37, 179.13°)
OKLaboklab(51.92% -0.082 0.0007)
OKLCHoklch(51.92% 0.082 179.5)
XYZxyz(10.0443, 14.8475, 15.9694)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24786A #782432
analogous
#247840 #24786A #245C78
triadic
#24786A #6A2478 #786A24
tetradic
#24786A #402478 #782432 #5C7824
square
#24786A #402478 #782432 #5C7824
split-complementary
#24786A #78245C #784024
monochromatic
#081A17 #164940 #24786A #32A794 #4DCAB5

Accessibility & contrast

On white

5.29
#24786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#24786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #24786A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24786A#FFFFFF#000000##FFFFFF
##24786A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #24786a;
/* rgb */ color: rgb(36, 120, 106);
/* oklch */ color: oklch(51.9% 0.082 179.5);
Tailwind
colors: {
  custom: {
    50: '#6b9f94',
    500: '#24786a',
    950: '#000000',
  },
}
SCSS
$custom: #24786a;
$custom-light: #6b9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#24786a",
  "rgb": {
    "r": 36,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 170,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.08198,
    "h": 179.5
  },
  "luminance": 0.14849
}

Semantic roles & 50–950 ramp

primary
#24786A
secondary
#AB4D5D
accent
#4B63DD
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #24786A

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

Preview Lab → · Contrast checker → · Palette generator →

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