#21241D#21241D

#21241D is a dark, near-neutral yellow-green. Relative luminance 0.017; OKLCH L 25.5% C 0.014 H 126.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#21241D
RGBrgb(33, 36, 29)
HSLhsl(86, 11%, 13%)
HSVhsv(86, 19%, 14%)
CMYKcmyk(8.3%, 0%, 19.4%, 85.9%)
CIE-LABlab(13.67, -3.05, 4.22)
CIE-LCHlch(13.67, 5.21, 125.82°)
OKLaboklab(25.47% -0.008 0.0109)
OKLCHoklch(25.47% 0.014 126.3)
XYZxyz(1.4798, 1.6738, 1.4073)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21241D #201D24
analogous
#24231D #21241D #1D241D
triadic
#21241D #1D2124 #241D21
tetradic
#21241D #1D2423 #201D24 #241D1D
square
#21241D #1D2423 #201D24 #241D1D
split-complementary
#21241D #1D1D24 #231D24
monochromatic
#10110E #10110E #21241D #404638 #5F6854

Accessibility & contrast

On white

15.73
#21241D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#21241D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21241D
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21241D#FFFFFF#000000##FFFFFF
##21241D1.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#24231D
Tritanopia (blue-blind)
#212322
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #21241d;
/* rgb */ color: rgb(33, 36, 29);
/* oklch */ color: oklch(25.5% 0.014 126.3);
Tailwind
colors: {
  custom: {
    50: '#5c5e58',
    500: '#21241d',
    950: '#000000',
  },
}
SCSS
$custom: #21241d;
$custom-light: #5c5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#21241d",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 29
  },
  "hsl": {
    "h": 85.714,
    "s": 10.769,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2547,
    "c": 0.01353,
    "h": 126.3
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#21241D
secondary
#4E4854
accent
#74B48F
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #21241D

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

Preview Lab → · Contrast checker → · Palette generator →

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