#212504#212504

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

Color values

HEX#212504
RGBrgb(33, 37, 4)
HSLhsl(67, 80%, 8%)
HSVhsv(67, 89%, 15%)
CMYKcmyk(10.8%, 0%, 89.2%, 85.5%)
CIE-LABlab(13.56, -7.53, 18.16)
CIE-LCHlch(13.56, 19.66, 112.51°)
OKLaboklab(25.23% -0.0227 0.0466)
OKLCHoklch(25.23% 0.052 116)
XYZxyz(1.3107, 1.6553, 0.3653)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212504 #080425
analogous
#251804 #212504 #102504
triadic
#212504 #042125 #250421
tetradic
#212504 #042518 #080425 #250410
square
#212504 #042518 #080425 #250410
split-complementary
#212504 #041025 #180425
monochromatic
#191C03 #191C03 #212504 #525C0A #849310

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212504#FFFFFF#000000##FFFFFF
##2125041.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)
#282301
Deuteranopia (green-blind)
#282306
Tritanopia (blue-blind)
#24221E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212504;
/* rgb */ color: rgb(33, 37, 4);
/* oklch */ color: oklch(25.2% 0.052 116.0);
Tailwind
colors: {
  custom: {
    50: '#5d5f48',
    500: '#212504',
    950: '#000000',
  },
}
SCSS
$custom: #212504;
$custom-light: #5d5f48;
$custom-dark: #000000;
JSON
{
  "hex": "#212504",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 4
  },
  "hsl": {
    "h": 67.273,
    "s": 80.488,
    "l": 8.039
  },
  "oklch": {
    "l": 0.25227,
    "c": 0.05183,
    "h": 116
  },
  "luminance": 0.01655
}

Semantic roles & 50–950 ramp

primary
#212504
secondary
#261D68
accent
#31F749
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212504

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

Preview Lab → · Contrast checker → · Palette generator →

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