#24241A#24241A

#24241A is a dark, near-neutral yellow. Relative luminance 0.017; OKLCH L 25.7% C 0.018 H 107.6°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#24241A
RGBrgb(36, 36, 26)
HSLhsl(60, 16%, 12%)
HSVhsv(60, 28%, 14%)
CMYKcmyk(0%, 0%, 27.8%, 85.9%)
CIE-LABlab(13.89, -2.20, 6.71)
CIE-LCHlch(13.89, 7.06, 108.11°)
OKLaboklab(25.69% -0.0054 0.0171)
OKLCHoklch(25.69% 0.018 107.6)
XYZxyz(1.5449, 1.7114, 1.2260)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24241A #1A1A24
analogous
#241F1A #24241A #1F241A
triadic
#24241A #1A2424 #241A24
tetradic
#24241A #1A241F #1A1A24 #241A1F
square
#24241A #1A241F #1A1A24 #241A1F
split-complementary
#24241A #1A1F24 #1F1A24
monochromatic
#12120D #12120D #24241A #484834 #6B6B4D

Accessibility & contrast

On white

15.65
#24241A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#24241A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24241A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24241A#FFFFFF#000000##FFFFFF
##24241A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262319
Deuteranopia (green-blind)
#26241A
Tritanopia (blue-blind)
#262321
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #24241a;
/* rgb */ color: rgb(36, 36, 26);
/* oklch */ color: oklch(25.7% 0.018 107.6);
Tailwind
colors: {
  custom: {
    50: '#5e5e56',
    500: '#24241a',
    950: '#000000',
  },
}
SCSS
$custom: #24241a;
$custom-light: #5e5e56;
$custom-dark: #000000;
JSON
{
  "hex": "#24241a",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 26
  },
  "hsl": {
    "h": 60,
    "s": 16.129,
    "l": 12.157
  },
  "oklch": {
    "l": 0.25692,
    "c": 0.01792,
    "h": 107.6
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#24241A
secondary
#444456
accent
#6FB96F
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #24241A

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

Preview Lab → · Contrast checker → · Palette generator →

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