#212008#212008

#212008 is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 23.8% C 0.039 H 106.8°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#212008
RGBrgb(33, 32, 8)
HSLhsl(58, 61%, 8%)
HSVhsv(58, 76%, 13%)
CMYKcmyk(0%, 3%, 75.8%, 87.1%)
CIE-LABlab(11.78, -3.73, 14.13)
CIE-LCHlch(11.78, 14.62, 104.78°)
OKLaboklab(23.82% -0.0114 0.0375)
OKLCHoklch(23.82% 0.039 106.8)
XYZxyz(1.1876, 1.3739, 0.4323)
Luminance0.0137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212008 #080921
analogous
#211308 #212008 #152108
triadic
#212008 #082120 #200821
tetradic
#212008 #082113 #080921 #210815
square
#212008 #082113 #080921 #210815
split-complementary
#212008 #081521 #130821
monochromatic
#191806 #191806 #212008 #525014 #848020

Accessibility & contrast

On white

16.47
#212008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212008
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212008#FFFFFF#000000##FFFFFF
##2120081.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231E06
Deuteranopia (green-blind)
#242009
Tritanopia (blue-blind)
#241D1B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #212008;
/* rgb */ color: rgb(33, 32, 8);
/* oklch */ color: oklch(23.8% 0.039 106.8);
Tailwind
colors: {
  custom: {
    50: '#5c5b4a',
    500: '#212008',
    950: '#000000',
  },
}
SCSS
$custom: #212008;
$custom-light: #5c5b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#212008",
  "rgb": {
    "r": 33,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 57.6,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.23822,
    "c": 0.03921,
    "h": 106.8
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#212008
secondary
#26285F
accent
#4AE444
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #212008

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

Preview Lab → · Contrast checker → · Palette generator →

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