#242008#242008

#242008 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.2% C 0.039 H 100.0°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#242008
RGBrgb(36, 32, 8)
HSLhsl(51, 64%, 9%)
HSVhsv(51, 78%, 14%)
CMYKcmyk(0%, 11.1%, 77.8%, 85.9%)
CIE-LABlab(12.13, -2.04, 14.66)
CIE-LCHlch(12.13, 14.80, 97.91°)
OKLaboklab(24.18% -0.0068 0.0385)
OKLCHoklch(24.18% 0.039 100)
XYZxyz(1.2879, 1.4257, 0.4370)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242008 #080C24
analogous
#241208 #242008 #1A2408
triadic
#242008 #082420 #200824
tetradic
#242008 #082412 #080C24 #24081A
square
#242008 #082412 #080C24 #24081A
split-complementary
#242008 #081A24 #120824
monochromatic
#191606 #191606 #242008 #564D13 #88791E

Accessibility & contrast

On white

16.34
#242008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#242008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242008
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242008#FFFFFF#000000##FFFFFF
##2420081.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F06
Deuteranopia (green-blind)
#252009
Tritanopia (blue-blind)
#271D1B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #242008;
/* rgb */ color: rgb(36, 32, 8);
/* oklch */ color: oklch(24.2% 0.039 100.0);
Tailwind
colors: {
  custom: {
    50: '#5f5b4a',
    500: '#242008',
    950: '#000000',
  },
}
SCSS
$custom: #242008;
$custom-light: #5f5b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#242008",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 51.429,
    "s": 63.636,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24178,
    "c": 0.03906,
    "h": 100
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#242008
secondary
#262E62
accent
#59E741
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #242008

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

Preview Lab → · Contrast checker → · Palette generator →

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