#212002#212002

#212002 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.7% C 0.048 H 107.7°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#212002
RGBrgb(33, 32, 2)
HSLhsl(58, 89%, 7%)
HSVhsv(58, 94%, 13%)
CMYKcmyk(0%, 3%, 93.9%, 87.1%)
CIE-LABlab(11.69, -4.43, 16.45)
CIE-LCHlch(11.69, 17.04, 105.07°)
OKLaboklab(23.72% -0.0146 0.0456)
OKLCHoklch(23.72% 0.048 107.7)
XYZxyz(1.1547, 1.3608, 0.2593)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212002 #020321
analogous
#211102 #212002 #132102
triadic
#212002 #022120 #200221
tetradic
#212002 #022111 #020321 #210213
square
#212002 #022111 #020321 #210213
split-complementary
#212002 #021321 #110221
monochromatic
#1D1C02 #1D1C02 #212002 #5B5805 #949009

Accessibility & contrast

On white

16.51
#212002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#212002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212002
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212002#FFFFFF#000000##FFFFFF
##2120021.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241E00
Deuteranopia (green-blind)
#241F03
Tritanopia (blue-blind)
#241D1A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #212002;
/* rgb */ color: rgb(33, 32, 2);
/* oklch */ color: oklch(23.7% 0.048 107.7);
Tailwind
colors: {
  custom: {
    50: '#5c5b47',
    500: '#212002',
    950: '#000000',
  },
}
SCSS
$custom: #212002;
$custom-light: #5c5b47;
$custom-dark: #000000;
JSON
{
  "hex": "#212002",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 58.065,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.23723,
    "c": 0.0479,
    "h": 107.7
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#212002
secondary
#181B67
accent
#30FF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212002

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

Preview Lab → · Contrast checker → · Palette generator →

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