#212304#212304

#212304 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.6% C 0.049 H 113.0°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#212304
RGBrgb(33, 35, 4)
HSLhsl(64, 79%, 8%)
HSVhsv(64, 89%, 14%)
CMYKcmyk(5.7%, 0%, 88.6%, 86.3%)
CIE-LABlab(12.82, -6.21, 17.17)
CIE-LCHlch(12.82, 18.26, 109.89°)
OKLaboklab(24.64% -0.0191 0.0451)
OKLCHoklch(24.64% 0.049 113)
XYZxyz(1.2502, 1.5342, 0.3451)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212304 #060423
analogous
#231504 #212304 #112304
triadic
#212304 #042123 #230421
tetradic
#212304 #042315 #060423 #230411
square
#212304 #042315 #060423 #230411
split-complementary
#212304 #041123 #150423
monochromatic
#1A1B03 #1A1B03 #212304 #555A0A #899111

Accessibility & contrast

On white

16.07
#212304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#212304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212304
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212304#FFFFFF#000000##FFFFFF
##2123041.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262101
Deuteranopia (green-blind)
#262206
Tritanopia (blue-blind)
#24201D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #212304;
/* rgb */ color: rgb(33, 35, 4);
/* oklch */ color: oklch(24.6% 0.049 113.0);
Tailwind
colors: {
  custom: {
    50: '#5c5d48',
    500: '#212304',
    950: '#000000',
  },
}
SCSS
$custom: #212304;
$custom-light: #5c5d48;
$custom-dark: #000000;
JSON
{
  "hex": "#212304",
  "rgb": {
    "r": 33,
    "g": 35,
    "b": 4
  },
  "hsl": {
    "h": 63.871,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.24635,
    "c": 0.04895,
    "h": 113
  },
  "luminance": 0.01534
}

Semantic roles & 50–950 ramp

primary
#212304
secondary
#221D66
accent
#32F63F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212304

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

Preview Lab → · Contrast checker → · Palette generator →

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