#21291C#21291C

#21291C is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.026 H 133.7°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#21291C
RGBrgb(33, 41, 28)
HSLhsl(97, 19%, 14%)
HSVhsv(97, 32%, 16%)
CMYKcmyk(19.5%, 0%, 31.7%, 83.9%)
CIE-LABlab(15.45, -6.63, 7.40)
CIE-LCHlch(15.45, 9.94, 131.85°)
OKLaboklab(26.88% -0.0179 0.0188)
OKLCHoklch(26.88% 0.026 133.7)
XYZxyz(1.6297, 1.9930, 1.3972)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21291C #241C29
analogous
#27291C #21291C #1C291D
triadic
#21291C #1C2129 #291C21
tetradic
#21291C #1C2729 #241C29 #291D1C
square
#21291C #1C2729 #241C29 #291D1C
split-complementary
#21291C #1D1C29 #291C27
monochromatic
#0F120C #0F120C #21291C #3E4D35 #5C724E

Accessibility & contrast

On white

15.02
#21291C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#21291C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21291C
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21291C#FFFFFF#000000##FFFFFF
##21291C1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271B
Deuteranopia (green-blind)
#29261D
Tritanopia (blue-blind)
#212825
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #21291c;
/* rgb */ color: rgb(33, 41, 28);
/* oklch */ color: oklch(26.9% 0.026 133.7);
Tailwind
colors: {
  custom: {
    50: '#5c6258',
    500: '#21291c',
    950: '#000000',
  },
}
SCSS
$custom: #21291c;
$custom-light: #5c6258;
$custom-dark: #000000;
JSON
{
  "hex": "#21291c",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 96.923,
    "s": 18.841,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26876,
    "c": 0.02597,
    "h": 133.7
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#21291C
secondary
#53465B
accent
#6CBB9D
background
#F5F5F5
surface
#E9EAE9
border
#C5C6C5
text
#040503
muted
#797978

Preview Lab

Preview with #21291C

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

Preview Lab → · Contrast checker → · Palette generator →

#21291C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva