#21241B#21241B

#21241B is a dark, near-neutral yellow-green. Relative luminance 0.017; OKLCH L 25.4% C 0.017 H 122.6°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#21241B
RGBrgb(33, 36, 27)
HSLhsl(80, 14%, 12%)
HSVhsv(80, 25%, 14%)
CMYKcmyk(8.3%, 0%, 25%, 85.9%)
CIE-LABlab(13.62, -3.48, 5.57)
CIE-LCHlch(13.62, 6.57, 121.99°)
OKLaboklab(25.41% -0.0091 0.0143)
OKLCHoklch(25.41% 0.017 122.6)
XYZxyz(1.4559, 1.6642, 1.2812)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21241B #1E1B24
analogous
#24231B #21241B #1D241B
triadic
#21241B #1B2124 #241B21
tetradic
#21241B #1B2423 #1E1B24 #241B1D
square
#21241B #1B2423 #1E1B24 #241B1D
split-complementary
#21241B #1B1D24 #231B24
monochromatic
#10110D #10110D #21241B #414735 #616A4F

Accessibility & contrast

On white

15.76
#21241B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21241B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21241B#FFFFFF#000000##FFFFFF
##21241B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231A
Deuteranopia (green-blind)
#25231B
Tritanopia (blue-blind)
#222322
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #21241b;
/* rgb */ color: rgb(33, 36, 27);
/* oklch */ color: oklch(25.4% 0.017 122.6);
Tailwind
colors: {
  custom: {
    50: '#5c5e57',
    500: '#21241b',
    950: '#000000',
  },
}
SCSS
$custom: #21241b;
$custom-light: #5c5e57;
$custom-dark: #000000;
JSON
{
  "hex": "#21241b",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 80,
    "s": 14.286,
    "l": 12.353
  },
  "oklch": {
    "l": 0.25406,
    "c": 0.01695,
    "h": 122.6
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#21241B
secondary
#4B4655
accent
#71B788
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #21241B

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

Preview Lab → · Contrast checker → · Palette generator →

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