#21241E#21241E

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

Color values

HEX#21241E
RGBrgb(33, 36, 30)
HSLhsl(90, 9%, 13%)
HSVhsv(90, 17%, 14%)
CMYKcmyk(8.3%, 0%, 16.7%, 85.9%)
CIE-LABlab(13.70, -2.82, 3.55)
CIE-LCHlch(13.70, 4.54, 128.49°)
OKLaboklab(25.5% -0.0074 0.0092)
OKLCHoklch(25.5% 0.012 129)
XYZxyz(1.4924, 1.6788, 1.4735)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21241E #211E24
analogous
#24241E #21241E #1E241E
triadic
#21241E #1E2124 #241E21
tetradic
#21241E #1E2424 #211E24 #241E1E
square
#21241E #1E2424 #211E24 #241E1E
split-complementary
#21241E #1E1E24 #241E24
monochromatic
#0F110E #0F110E #21241E #40453A #5E6756

Accessibility & contrast

On white

15.72
#21241E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#21241E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21241E
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21241E#FFFFFF#000000##FFFFFF
##21241E1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21241e;
/* rgb */ color: rgb(33, 36, 30);
/* oklch */ color: oklch(25.5% 0.012 129.0);
Tailwind
colors: {
  custom: {
    50: '#5c5e59',
    500: '#21241e',
    950: '#000000',
  },
}
SCSS
$custom: #21241e;
$custom-light: #5c5e59;
$custom-dark: #000000;
JSON
{
  "hex": "#21241e",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 30
  },
  "hsl": {
    "h": 90,
    "s": 9.091,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25503,
    "c": 0.01185,
    "h": 129
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#21241E
secondary
#4F4A54
accent
#76B294
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #21241E

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

Preview Lab → · Contrast checker → · Palette generator →

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