#212202#212202

#212202 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.3% C 0.050 H 111.3°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#212202
RGBrgb(33, 34, 2)
HSLhsl(62, 89%, 7%)
HSVhsv(62, 94%, 13%)
CMYKcmyk(2.9%, 0%, 94.1%, 86.7%)
CIE-LABlab(12.43, -5.78, 17.45)
CIE-LCHlch(12.43, 18.39, 108.32°)
OKLaboklab(24.31% -0.0184 0.047)
OKLCHoklch(24.31% 0.05 111.3)
XYZxyz(1.2102, 1.4718, 0.2778)
Luminance0.0147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212202 #030222
analogous
#221302 #212202 #112202
triadic
#212202 #022122 #220221
tetradic
#212202 #022213 #030222 #220211
square
#212202 #022213 #030222 #220211
split-complementary
#212202 #021122 #130222
monochromatic
#1C1D02 #1C1D02 #212202 #595C05 #919609

Accessibility & contrast

On white

16.22
#212202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#212202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212202
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212202#FFFFFF#000000##FFFFFF
##2122021.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262000
Deuteranopia (green-blind)
#262104
Tritanopia (blue-blind)
#241F1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #212202;
/* rgb */ color: rgb(33, 34, 2);
/* oklch */ color: oklch(24.3% 0.050 111.3);
Tailwind
colors: {
  custom: {
    50: '#5c5c47',
    500: '#212202',
    950: '#000000',
  },
}
SCSS
$custom: #212202;
$custom-light: #5c5c47;
$custom-dark: #000000;
JSON
{
  "hex": "#212202",
  "rgb": {
    "r": 33,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 61.875,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.24309,
    "c": 0.05046,
    "h": 111.3
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#212202
secondary
#1B1868
accent
#29FF2F
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040400
muted
#797977

Preview Lab

Preview with #212202

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

Preview Lab → · Contrast checker → · Palette generator →

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