#21290B#21290B

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

Color values

HEX#21290B
RGBrgb(33, 41, 11)
HSLhsl(76, 58%, 10%)
HSVhsv(76, 73%, 16%)
CMYKcmyk(19.5%, 0%, 73.2%, 83.9%)
CIE-LABlab(15.13, -9.32, 17.34)
CIE-LCHlch(15.13, 19.69, 118.26°)
OKLaboklab(26.52% -0.0267 0.0421)
OKLCHoklch(26.52% 0.05 122.4)
XYZxyz(1.4806, 1.9334, 0.6117)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21290B #130B29
analogous
#29220B #21290B #12290B
triadic
#21290B #0B2129 #290B21
tetradic
#21290B #0B2922 #130B29 #290B12
square
#21290B #0B2922 #130B29 #290B12
split-complementary
#21290B #0B1229 #220B29
monochromatic
#131806 #131806 #21290B #485918 #6F8A25

Accessibility & contrast

On white

15.14
#21290B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21290B
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21290B#FFFFFF#000000##FFFFFF
##21290B1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21290b;
/* rgb */ color: rgb(33, 41, 11);
/* oklch */ color: oklch(26.5% 0.050 122.4);
Tailwind
colors: {
  custom: {
    50: '#5d624c',
    500: '#21290b',
    950: '#000000',
  },
}
SCSS
$custom: #21290b;
$custom-light: #5d624c;
$custom-dark: #000000;
JSON
{
  "hex": "#21290b",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 11
  },
  "hsl": {
    "h": 76,
    "s": 57.692,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26518,
    "c": 0.04981,
    "h": 122.4
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#21290B
secondary
#3A2B65
accent
#47E170
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #21290B

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

Preview Lab → · Contrast checker → · Palette generator →

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