#242518#242518

#242518 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 25.9% C 0.023 H 111.6°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#242518
RGBrgb(36, 37, 24)
HSLhsl(65, 21%, 12%)
HSVhsv(65, 35%, 15%)
CMYKcmyk(2.7%, 0%, 35.1%, 85.5%)
CIE-LABlab(14.20, -3.26, 8.54)
CIE-LCHlch(14.20, 9.14, 110.90°)
OKLaboklab(25.92% -0.0085 0.0215)
OKLCHoklch(25.92% 0.023 111.6)
XYZxyz(1.5540, 1.7642, 1.1226)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242518 #191825
analogous
#252018 #242518 #1E2518
triadic
#242518 #182425 #251824
tetradic
#242518 #182520 #191825 #25181E
square
#242518 #182520 #191825 #25181E
split-complementary
#242518 #181E25 #201825
monochromatic
#12130C #12130C #242518 #484A30 #6C6F48

Accessibility & contrast

On white

15.52
#242518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#242518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242518
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242518#FFFFFF#000000##FFFFFF
##2425181.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272417
Deuteranopia (green-blind)
#272419
Tritanopia (blue-blind)
#262322
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #242518;
/* rgb */ color: rgb(36, 37, 24);
/* oklch */ color: oklch(25.9% 0.023 111.6);
Tailwind
colors: {
  custom: {
    50: '#5e5f54',
    500: '#242518',
    950: '#000000',
  },
}
SCSS
$custom: #242518;
$custom-light: #5e5f54;
$custom-dark: #000000;
JSON
{
  "hex": "#242518",
  "rgb": {
    "r": 36,
    "g": 37,
    "b": 24
  },
  "hsl": {
    "h": 64.615,
    "s": 21.311,
    "l": 11.961
  },
  "oklch": {
    "l": 0.25917,
    "c": 0.02307,
    "h": 111.6
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#242518
secondary
#434158
accent
#6ABE70
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #242518

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

Preview Lab → · Contrast checker → · Palette generator →

#242518 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva