#21210E#21210E

#21210E is a very dark, muted yellow. Relative luminance 0.014; OKLCH L 24.2% C 0.033 H 108.6°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#21210E
RGBrgb(33, 33, 14)
HSLhsl(60, 40%, 9%)
HSVhsv(60, 58%, 13%)
CMYKcmyk(0%, 0%, 57.6%, 87.1%)
CIE-LABlab(12.24, -3.69, 12.12)
CIE-LCHlch(12.24, 12.67, 106.94°)
OKLaboklab(24.22% -0.0104 0.0309)
OKLCHoklch(24.22% 0.033 108.6)
XYZxyz(1.2503, 1.4428, 0.6280)
Luminance0.0144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21210E #0E0E21
analogous
#21180E #21210E #18210E
triadic
#21210E #0E2121 #210E21
tetradic
#21210E #0E2118 #0E0E21 #210E18
square
#21210E #0E2118 #0E0E21 #210E18
split-complementary
#21210E #0E1821 #180E21
monochromatic
#151509 #151509 #21210E #4C4C20 #777732

Accessibility & contrast

On white

16.30
#21210E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#21210E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21210E
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21210E#FFFFFF#000000##FFFFFF
##21210E1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200C
Deuteranopia (green-blind)
#24200F
Tritanopia (blue-blind)
#231F1C
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #21210e;
/* rgb */ color: rgb(33, 33, 14);
/* oklch */ color: oklch(24.2% 0.033 108.6);
Tailwind
colors: {
  custom: {
    50: '#5c5c4d',
    500: '#21210e',
    950: '#000000',
  },
}
SCSS
$custom: #21210e;
$custom-light: #5c5c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21210e",
  "rgb": {
    "r": 33,
    "g": 33,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 40.426,
    "l": 9.216
  },
  "oklch": {
    "l": 0.24216,
    "c": 0.03256,
    "h": 108.6
  },
  "luminance": 0.01443
}

Semantic roles & 50–950 ramp

primary
#21210E
secondary
#323259
accent
#58D058
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21210E

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

Preview Lab → · Contrast checker → · Palette generator →

#21210E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva