#212404#212404

#212404 is a very dark, muted yellow. Relative luminance 0.016; OKLCH L 24.9% C 0.050 H 114.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#212404
RGBrgb(33, 36, 4)
HSLhsl(66, 80%, 8%)
HSVhsv(66, 89%, 14%)
CMYKcmyk(8.3%, 0%, 88.9%, 85.9%)
CIE-LABlab(13.19, -6.87, 17.67)
CIE-LCHlch(13.19, 18.96, 111.26°)
OKLaboklab(24.93% -0.0209 0.0458)
OKLCHoklch(24.93% 0.05 114.6)
XYZxyz(1.2800, 1.5939, 0.3551)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212404 #070424
analogous
#241704 #212404 #112404
triadic
#212404 #042124 #240421
tetradic
#212404 #042417 #070424 #240411
square
#212404 #042417 #070424 #240411
split-complementary
#212404 #041124 #170424
monochromatic
#191C03 #191C03 #212404 #535B0A #869210

Accessibility & contrast

On white

15.92
#212404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212404
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212404#FFFFFF#000000##FFFFFF
##2124041.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272201
Deuteranopia (green-blind)
#272206
Tritanopia (blue-blind)
#24211E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #212404;
/* rgb */ color: rgb(33, 36, 4);
/* oklch */ color: oklch(24.9% 0.050 114.6);
Tailwind
colors: {
  custom: {
    50: '#5c5e48',
    500: '#212404',
    950: '#000000',
  },
}
SCSS
$custom: #212404;
$custom-light: #5c5e48;
$custom-dark: #000000;
JSON
{
  "hex": "#212404",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 4
  },
  "hsl": {
    "h": 65.625,
    "s": 80,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24931,
    "c": 0.05038,
    "h": 114.6
  },
  "luminance": 0.01594
}

Semantic roles & 50–950 ramp

primary
#212404
secondary
#241D67
accent
#31F644
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212404

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

Preview Lab → · Contrast checker → · Palette generator →

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