#212000#212000

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

Color values

HEX#212000
RGBrgb(33, 32, 0)
HSLhsl(58, 100%, 6%)
HSVhsv(58, 100%, 13%)
CMYKcmyk(0%, 3%, 100%, 87.1%)
CIE-LABlab(11.66, -4.66, 17.23)
CIE-LCHlch(11.66, 17.85, 105.15°)
OKLaboklab(23.69% -0.0158 0.0486)
OKLCHoklch(23.69% 0.051 108)
XYZxyz(1.1438, 1.3564, 0.2016)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212000 #000121
analogous
#211000 #212000 #122100
triadic
#212000 #002120 #200021
tetradic
#212000 #002110 #000121 #210012
square
#212000 #002110 #000121 #210012
split-complementary
#212000 #001221 #100021
monochromatic
#1F1E00 #1F1E00 #212000 #5E5B00 #9B9700

Accessibility & contrast

On white

16.52
#212000 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212000
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212000#FFFFFF#000000##FFFFFF
##2120001.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212000;
/* rgb */ color: rgb(33, 32, 0);
/* oklch */ color: oklch(23.7% 0.051 108.0);
Tailwind
colors: {
  custom: {
    50: '#5c5b46',
    500: '#212000',
    950: '#000000',
  },
}
SCSS
$custom: #212000;
$custom-light: #5c5b46;
$custom-dark: #000000;
JSON
{
  "hex": "#212000",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 0
  },
  "hsl": {
    "h": 58.182,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.23689,
    "c": 0.05109,
    "h": 108
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#212000
secondary
#13156A
accent
#2FFF29
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040400
muted
#797977

Preview Lab

Preview with #212000

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

Preview Lab → · Contrast checker → · Palette generator →

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