#242408#242408

#242408 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.3% C 0.044 H 109.2°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#242408
RGBrgb(36, 36, 8)
HSLhsl(60, 64%, 9%)
HSVhsv(60, 78%, 14%)
CMYKcmyk(0%, 0%, 77.8%, 85.9%)
CIE-LABlab(13.56, -4.77, 16.58)
CIE-LCHlch(13.56, 17.25, 106.06°)
OKLaboklab(25.32% -0.0145 0.0418)
OKLCHoklch(25.32% 0.044 109.2)
XYZxyz(1.4023, 1.6544, 0.4751)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242408 #080824
analogous
#241608 #242408 #162408
triadic
#242408 #082424 #240824
tetradic
#242408 #082416 #080824 #240816
square
#242408 #082416 #080824 #240816
split-complementary
#242408 #081624 #160824
monochromatic
#191906 #191906 #242408 #565613 #88881E

Accessibility & contrast

On white

15.78
#242408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#242408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242408
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242408#FFFFFF#000000##FFFFFF
##2424081.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282205
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#27211E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #242408;
/* rgb */ color: rgb(36, 36, 8);
/* oklch */ color: oklch(25.3% 0.044 109.2);
Tailwind
colors: {
  custom: {
    50: '#5f5e4a',
    500: '#242408',
    950: '#000000',
  },
}
SCSS
$custom: #242408;
$custom-light: #5f5e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#242408",
  "rgb": {
    "r": 36,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 60,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25316,
    "c": 0.04426,
    "h": 109.2
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#242408
secondary
#262662
accent
#41E741
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #242408

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

Preview Lab → · Contrast checker → · Palette generator →

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