#24312E#24312E

#24312E is a dark, near-neutral teal. Relative luminance 0.028; OKLCH L 30.0% C 0.018 H 179.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#24312E
RGBrgb(36, 49, 46)
HSLhsl(166, 15%, 17%)
HSVhsv(166, 27%, 19%)
CMYKcmyk(26.5%, 0%, 6.1%, 80.8%)
CIE-LABlab(19.09, -6.25, 0.12)
CIE-LCHlch(19.09, 6.25, 178.87°)
OKLaboklab(30.02% -0.0183 0.0002)
OKLCHoklch(30.02% 0.018 179.3)
XYZxyz(2.3189, 2.7689, 2.9965)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24312E #312427
analogous
#243128 #24312E #242E31
triadic
#24312E #2E2431 #312E24
tetradic
#24312E #282431 #312427 #2E3124
square
#24312E #282431 #312427 #2E3124
split-complementary
#24312E #31242E #312824
monochromatic
#0D1211 #0D1211 #24312E #3E544F #587870

Accessibility & contrast

On white

13.52
#24312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#24312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24312E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24312E#FFFFFF#000000##FFFFFF
##24312E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302F2E
Deuteranopia (green-blind)
#2D2E2E
Tritanopia (blue-blind)
#213130
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24312e;
/* rgb */ color: rgb(36, 49, 46);
/* oklch */ color: oklch(30.0% 0.018 179.3);
Tailwind
colors: {
  custom: {
    50: '#5f6966',
    500: '#24312e',
    950: '#000000',
  },
}
SCSS
$custom: #24312e;
$custom-light: #5f6966;
$custom-dark: #000000;
JSON
{
  "hex": "#24312e",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 166.154,
    "s": 15.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.30021,
    "c": 0.01834,
    "h": 179.3
  },
  "luminance": 0.02769
}

Semantic roles & 50–950 ramp

primary
#24312E
secondary
#624F53
accent
#7080B8
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#040606
muted
#797A7A

Preview Lab

Preview with #24312E

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

Preview Lab → · Contrast checker → · Palette generator →

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