#21200A#21200A

#21200A is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.9% C 0.037 H 106.5°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#21200A
RGBrgb(33, 32, 10)
HSLhsl(57, 53%, 8%)
HSVhsv(57, 70%, 13%)
CMYKcmyk(0%, 3%, 69.7%, 87.1%)
CIE-LABlab(11.81, -3.50, 13.36)
CIE-LCHlch(11.81, 13.81, 104.70°)
OKLaboklab(23.86% -0.0104 0.0351)
OKLCHoklch(23.86% 0.037 106.5)
XYZxyz(1.1985, 1.3783, 0.4900)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21200A #0A0B21
analogous
#21140A #21200A #16210A
triadic
#21200A #0A2120 #200A21
tetradic
#21200A #0A2114 #0A0B21 #210A16
square
#21200A #0A2114 #0A0B21 #210A16
split-complementary
#21200A #0A1621 #140A21
monochromatic
#171707 #171707 #21200A #504E18 #7F7B26

Accessibility & contrast

On white

16.46
#21200A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#21200A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21200A
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21200A#FFFFFF#000000##FFFFFF
##21200A1.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F08
Deuteranopia (green-blind)
#24200B
Tritanopia (blue-blind)
#241E1B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #21200a;
/* rgb */ color: rgb(33, 32, 10);
/* oklch */ color: oklch(23.9% 0.037 106.5);
Tailwind
colors: {
  custom: {
    50: '#5c5b4b',
    500: '#21200a',
    950: '#000000',
  },
}
SCSS
$custom: #21200a;
$custom-light: #5c5b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#21200a",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 10
  },
  "hsl": {
    "h": 57.391,
    "s": 53.488,
    "l": 8.431
  },
  "oklch": {
    "l": 0.23855,
    "c": 0.03657,
    "h": 106.5
  },
  "luminance": 0.01378
}

Semantic roles & 50–950 ramp

primary
#21200A
secondary
#2A2C5D
accent
#51DD4B
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21200A

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

Preview Lab → · Contrast checker → · Palette generator →

#21200A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva