#21240D#21240D

#21240D is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.039 H 115.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#21240D
RGBrgb(33, 36, 13)
HSLhsl(68, 47%, 10%)
HSVhsv(68, 64%, 14%)
CMYKcmyk(8.3%, 0%, 63.9%, 85.9%)
CIE-LABlab(13.32, -5.86, 14.06)
CIE-LCHlch(13.32, 15.23, 112.61°)
OKLaboklab(25.07% -0.0167 0.0351)
OKLCHoklch(25.07% 0.039 115.4)
XYZxyz(1.3307, 1.6142, 0.6222)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21240D #100D24
analogous
#241C0D #21240D #16240D
triadic
#21240D #0D2124 #240D21
tetradic
#21240D #0D241C #100D24 #240D16
square
#21240D #0D241C #100D24 #240D16
split-complementary
#21240D #0D1624 #1C0D24
monochromatic
#151608 #151608 #21240D #4A511D #737E2D

Accessibility & contrast

On white

15.88
#21240D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#21240D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21240D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21240D#FFFFFF#000000##FFFFFF
##21240D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220B
Deuteranopia (green-blind)
#27220E
Tritanopia (blue-blind)
#23221F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #21240d;
/* rgb */ color: rgb(33, 36, 13);
/* oklch */ color: oklch(25.1% 0.039 115.4);
Tailwind
colors: {
  custom: {
    50: '#5c5e4d',
    500: '#21240d',
    950: '#000000',
  },
}
SCSS
$custom: #21240d;
$custom-light: #5c5e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21240d",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 13
  },
  "hsl": {
    "h": 67.826,
    "s": 46.939,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25069,
    "c": 0.03887,
    "h": 115.4
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#21240D
secondary
#352F5E
accent
#51D763
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21240D

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

Preview Lab → · Contrast checker → · Palette generator →

#21240D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva