#242218#242218

#242218 is a dark, near-neutral yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.018 H 98.1°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#242218
RGBrgb(36, 34, 24)
HSLhsl(50, 20%, 12%)
HSVhsv(50, 33%, 14%)
CMYKcmyk(0%, 5.6%, 33.3%, 85.9%)
CIE-LABlab(13.14, -1.18, 7.10)
CIE-LCHlch(13.14, 7.20, 99.44°)
OKLaboklab(25.08% -0.0026 0.018)
OKLCHoklch(25.08% 0.018 98.1)
XYZxyz(1.4645, 1.5851, 1.0928)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242218 #181A24
analogous
#241C18 #242218 #202418
triadic
#242218 #182422 #221824
tetradic
#242218 #18241C #181A24 #241820
square
#242218 #18241C #181A24 #241820
split-complementary
#242218 #182024 #1C1824
monochromatic
#12110C #12110C #242218 #494530 #6D6749

Accessibility & contrast

On white

15.95
#242218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#242218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242218
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242218#FFFFFF#000000##FFFFFF
##2422181.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242117
Deuteranopia (green-blind)
#252218
Tritanopia (blue-blind)
#26211F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #242218;
/* rgb */ color: rgb(36, 34, 24);
/* oklch */ color: oklch(25.1% 0.018 98.1);
Tailwind
colors: {
  custom: {
    50: '#5e5c54',
    500: '#242218',
    950: '#000000',
  },
}
SCSS
$custom: #242218;
$custom-light: #5e5c54;
$custom-dark: #000000;
JSON
{
  "hex": "#242218",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 24
  },
  "hsl": {
    "h": 50,
    "s": 20,
    "l": 11.765
  },
  "oklch": {
    "l": 0.25079,
    "c": 0.01817,
    "h": 98.1
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

primary
#242218
secondary
#414557
accent
#79BD6B
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040402
muted
#797978

Preview Lab

Preview with #242218

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

Preview Lab → · Contrast checker → · Palette generator →

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