#21280B#21280B

#21280B is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.048 H 121.2°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#21280B
RGBrgb(33, 40, 11)
HSLhsl(74, 57%, 10%)
HSVhsv(74, 73%, 16%)
CMYKcmyk(17.5%, 0%, 72.5%, 84.3%)
CIE-LABlab(14.76, -8.69, 16.87)
CIE-LCHlch(14.76, 18.98, 117.27°)
OKLaboklab(26.22% -0.0249 0.0412)
OKLCHoklch(26.22% 0.048 121.2)
XYZxyz(1.4464, 1.8651, 0.6003)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21280B #120B28
analogous
#28210B #21280B #12280B
triadic
#21280B #0B2128 #280B21
tetradic
#21280B #0B2821 #120B28 #280B12
square
#21280B #0B2821 #120B28 #280B12
split-complementary
#21280B #0B1228 #210B28
monochromatic
#141807 #141807 #21280B #495818 #708825

Accessibility & contrast

On white

15.29
#21280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#21280B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21280B
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21280B#FFFFFF#000000##FFFFFF
##21280B1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2508
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#232622
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #21280b;
/* rgb */ color: rgb(33, 40, 11);
/* oklch */ color: oklch(26.2% 0.048 121.2);
Tailwind
colors: {
  custom: {
    50: '#5d614c',
    500: '#21280b',
    950: '#000000',
  },
}
SCSS
$custom: #21280b;
$custom-light: #5d614c;
$custom-dark: #000000;
JSON
{
  "hex": "#21280b",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 74.483,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.2622,
    "c": 0.04812,
    "h": 121.2
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#21280B
secondary
#392B64
accent
#48E06C
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #21280B

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

Preview Lab → · Contrast checker → · Palette generator →

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