#242104#242104

#242104 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.4% C 0.046 H 103.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#242104
RGBrgb(36, 33, 4)
HSLhsl(54, 80%, 8%)
HSVhsv(54, 89%, 14%)
CMYKcmyk(0%, 8.3%, 88.9%, 85.9%)
CIE-LABlab(12.43, -3.16, 16.69)
CIE-LCHlch(12.43, 16.99, 100.70°)
OKLaboklab(24.4% -0.0107 0.0444)
OKLCHoklch(24.4% 0.046 103.6)
XYZxyz(1.2934, 1.4716, 0.3308)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242104 #040724
analogous
#241104 #242104 #172404
triadic
#242104 #042421 #210424
tetradic
#242104 #042411 #040724 #240417
square
#242104 #042411 #040724 #240417
split-complementary
#242104 #041724 #110424
monochromatic
#1C1903 #1C1903 #242104 #5B530A #928610

Accessibility & contrast

On white

16.22
#242104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242104
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242104#FFFFFF#000000##FFFFFF
##2421041.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252002
Deuteranopia (green-blind)
#262105
Tritanopia (blue-blind)
#281E1B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #242104;
/* rgb */ color: rgb(36, 33, 4);
/* oklch */ color: oklch(24.4% 0.046 103.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c48',
    500: '#242104',
    950: '#000000',
  },
}
SCSS
$custom: #242104;
$custom-light: #5f5c48;
$custom-dark: #000000;
JSON
{
  "hex": "#242104",
  "rgb": {
    "r": 36,
    "g": 33,
    "b": 4
  },
  "hsl": {
    "h": 54.375,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24397,
    "c": 0.04564,
    "h": 103.6
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#242104
secondary
#1D2467
accent
#44F631
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #242104

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

Preview Lab → · Contrast checker → · Palette generator →

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