#242004#242004

#242004 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.1% C 0.045 H 101.4°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#242004
RGBrgb(36, 32, 4)
HSLhsl(53, 80%, 8%)
HSVhsv(53, 89%, 14%)
CMYKcmyk(0%, 11.1%, 88.9%, 85.9%)
CIE-LABlab(12.07, -2.47, 16.21)
CIE-LCHlch(12.07, 16.40, 98.65°)
OKLaboklab(24.11% -0.0088 0.0436)
OKLCHoklch(24.11% 0.045 101.4)
XYZxyz(1.2660, 1.4169, 0.3216)
Luminance0.0142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242004 #040824
analogous
#241004 #242004 #182404
triadic
#242004 #042420 #200424
tetradic
#242004 #042410 #040824 #240418
square
#242004 #042410 #040824 #240418
split-complementary
#242004 #041824 #100424
monochromatic
#1C1803 #1C1803 #242004 #5B510A #928210

Accessibility & contrast

On white

16.36
#242004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#242004 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242004
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242004#FFFFFF#000000##FFFFFF
##2420041.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F02
Deuteranopia (green-blind)
#252005
Tritanopia (blue-blind)
#281D1A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #242004;
/* rgb */ color: rgb(36, 32, 4);
/* oklch */ color: oklch(24.1% 0.045 101.4);
Tailwind
colors: {
  custom: {
    50: '#5f5b48',
    500: '#242004',
    950: '#000000',
  },
}
SCSS
$custom: #242004;
$custom-light: #5f5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#242004",
  "rgb": {
    "r": 36,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 52.5,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24114,
    "c": 0.04451,
    "h": 101.4
  },
  "luminance": 0.01417
}

Semantic roles & 50–950 ramp

primary
#242004
secondary
#1D2667
accent
#4AF631
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #242004

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

Preview Lab → · Contrast checker → · Palette generator →

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