#212102#212102

#212102 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.0% C 0.049 H 109.6°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#212102
RGBrgb(33, 33, 2)
HSLhsl(60, 89%, 7%)
HSVhsv(60, 94%, 13%)
CMYKcmyk(0%, 0%, 93.9%, 87.1%)
CIE-LABlab(12.06, -5.11, 16.95)
CIE-LCHlch(12.06, 17.71, 106.76°)
OKLaboklab(24.02% -0.0165 0.0463)
OKLCHoklch(24.02% 0.049 109.6)
XYZxyz(1.1821, 1.4155, 0.2684)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212102 #020221
analogous
#211202 #212102 #122102
triadic
#212102 #022121 #210221
tetradic
#212102 #022112 #020221 #210212
square
#212102 #022112 #020221 #210212
split-complementary
#212102 #021221 #120221
monochromatic
#1D1D02 #1D1D02 #212102 #5B5B05 #949409

Accessibility & contrast

On white

16.37
#212102 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212102
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212102#FFFFFF#000000##FFFFFF
##2121021.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#252003
Tritanopia (blue-blind)
#241E1B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #212102;
/* rgb */ color: rgb(33, 33, 2);
/* oklch */ color: oklch(24.0% 0.049 109.6);
Tailwind
colors: {
  custom: {
    50: '#5c5c47',
    500: '#212102',
    950: '#000000',
  },
}
SCSS
$custom: #212102;
$custom-light: #5c5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#212102",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.24015,
    "c": 0.04916,
    "h": 109.6
  },
  "luminance": 0.01415
}

Semantic roles & 50–950 ramp

primary
#212102
secondary
#181867
accent
#29FF29
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212102

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

Preview Lab → · Contrast checker → · Palette generator →

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