#211A04#211A04

#211A04 is a very dark, muted yellow. Relative luminance 0.011; OKLCH L 22.0% C 0.038 H 92.2°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#211A04
RGBrgb(33, 26, 4)
HSLhsl(46, 78%, 7%)
HSVhsv(46, 88%, 13%)
CMYKcmyk(0%, 21.2%, 87.9%, 87.1%)
CIE-LABlab(9.57, 0.03, 12.67)
CIE-LCHlch(9.57, 12.67, 89.88°)
OKLaboklab(22.05% -0.0015 0.0382)
OKLCHoklch(22.05% 0.038 92.2)
XYZxyz(1.0186, 1.0709, 0.2679)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211A04 #040B21
analogous
#210C04 #211A04 #1A2104
triadic
#211A04 #04211A #1A0421
tetradic
#211A04 #04210C #040B21 #21041A
square
#211A04 #04210C #040B21 #21041A
split-complementary
#211A04 #041A21 #0C0421
monochromatic
#1B1603 #1B1603 #211A04 #58450B #8E7011

Accessibility & contrast

On white

17.30
#211A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#211A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211A04
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211A04#FFFFFF#000000##FFFFFF
##211A041.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1902
Deuteranopia (green-blind)
#201B05
Tritanopia (blue-blind)
#251715
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #211a04;
/* rgb */ color: rgb(33, 26, 4);
/* oklch */ color: oklch(22.0% 0.038 92.2);
Tailwind
colors: {
  custom: {
    50: '#5c5648',
    500: '#211a04',
    950: '#000000',
  },
}
SCSS
$custom: #211a04;
$custom-light: #5c5648;
$custom-dark: #000000;
JSON
{
  "hex": "#211a04",
  "rgb": {
    "r": 33,
    "g": 26,
    "b": 4
  },
  "hsl": {
    "h": 45.517,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.22046,
    "c": 0.03827,
    "h": 92.2
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#211A04
secondary
#1D2E64
accent
#62F533
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040300
muted
#797877

Preview Lab

Preview with #211A04

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

Preview Lab → · Contrast checker → · Palette generator →

#211A04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva