#21290D#21290D

#21290D is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.047 H 122.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#21290D
RGBrgb(33, 41, 13)
HSLhsl(77, 52%, 11%)
HSVhsv(77, 68%, 16%)
CMYKcmyk(19.5%, 0%, 68.3%, 83.9%)
CIE-LABlab(15.16, -9.10, 16.47)
CIE-LCHlch(15.16, 18.81, 118.91°)
OKLaboklab(26.55% -0.0258 0.0398)
OKLCHoklch(26.55% 0.047 122.9)
XYZxyz(1.4928, 1.9383, 0.6762)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21290D #150D29
analogous
#29230D #21290D #13290D
triadic
#21290D #0D2129 #290D21
tetradic
#21290D #0D2923 #150D29 #290D13
square
#21290D #0D2923 #150D29 #290D13
split-complementary
#21290D #0D1329 #230D29
monochromatic
#131707 #131707 #21290D #46571C #6C862A

Accessibility & contrast

On white

15.13
#21290D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#21290D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21290D
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21290D#FFFFFF#000000##FFFFFF
##21290D1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#2B260F
Tritanopia (blue-blind)
#232723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #21290d;
/* rgb */ color: rgb(33, 41, 13);
/* oklch */ color: oklch(26.5% 0.047 122.9);
Tailwind
colors: {
  custom: {
    50: '#5d624d',
    500: '#21290d',
    950: '#000000',
  },
}
SCSS
$custom: #21290d;
$custom-light: #5d624d;
$custom-dark: #000000;
JSON
{
  "hex": "#21290d",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 13
  },
  "hsl": {
    "h": 77.143,
    "s": 51.852,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26548,
    "c": 0.04746,
    "h": 122.9
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#21290D
secondary
#3E2E63
accent
#4CDB75
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #21290D

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

Preview Lab → · Contrast checker → · Palette generator →

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