#222004#222004

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

Color values

HEX#222004
RGBrgb(34, 32, 4)
HSLhsl(56, 79%, 7%)
HSVhsv(56, 88%, 13%)
CMYKcmyk(0%, 5.9%, 88.2%, 86.7%)
CIE-LABlab(11.84, -3.62, 15.85)
CIE-LCHlch(11.84, 16.26, 102.85°)
OKLaboklab(23.87% -0.0119 0.0431)
OKLCHoklch(23.87% 0.045 105.5)
XYZxyz(1.1982, 1.3819, 0.3185)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222004 #040622
analogous
#221104 #222004 #152204
triadic
#222004 #042220 #200422
tetradic
#222004 #042211 #040622 #220415
square
#222004 #042211 #040622 #220415
split-complementary
#222004 #041522 #110422
monochromatic
#1B1A03 #1B1A03 #222004 #59540A #908711

Accessibility & contrast

On white

16.45
#222004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222004
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222004#FFFFFF#000000##FFFFFF
##2220041.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E02
Deuteranopia (green-blind)
#242005
Tritanopia (blue-blind)
#251D1A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #222004;
/* rgb */ color: rgb(34, 32, 4);
/* oklch */ color: oklch(23.9% 0.045 105.5);
Tailwind
colors: {
  custom: {
    50: '#5d5b48',
    500: '#222004',
    950: '#000000',
  },
}
SCSS
$custom: #222004;
$custom-light: #5d5b48;
$custom-dark: #000000;
JSON
{
  "hex": "#222004",
  "rgb": {
    "r": 34,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 56,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.23873,
    "c": 0.04469,
    "h": 105.5
  },
  "luminance": 0.01382
}

Semantic roles & 50–950 ramp

primary
#222004
secondary
#1D2265
accent
#3FF532
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #222004

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

Preview Lab → · Contrast checker → · Palette generator →

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