#21290E#21290E

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

Color values

HEX#21290E
RGBrgb(33, 41, 14)
HSLhsl(78, 49%, 11%)
HSVhsv(78, 66%, 16%)
CMYKcmyk(19.5%, 0%, 65.9%, 83.9%)
CIE-LABlab(15.17, -8.97, 15.99)
CIE-LCHlch(15.17, 18.34, 119.29°)
OKLaboklab(26.56% -0.0253 0.0387)
OKLCHoklch(26.56% 0.046 123.2)
XYZxyz(1.4994, 1.9409, 0.7110)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21290E #160E29
analogous
#29230E #21290E #13290E
triadic
#21290E #0E2129 #290E21
tetradic
#21290E #0E2923 #160E29 #290E13
square
#21290E #0E2923 #160E29 #290E13
split-complementary
#21290E #0E1329 #230E29
monochromatic
#121708 #121708 #21290E #46571E #6A842D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21290E#FFFFFF#000000##FFFFFF
##21290E1.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)
#2C260B
Deuteranopia (green-blind)
#2B2610
Tritanopia (blue-blind)
#232723
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #21290e;
/* rgb */ color: rgb(33, 41, 14);
/* oklch */ color: oklch(26.6% 0.046 123.2);
Tailwind
colors: {
  custom: {
    50: '#5d624d',
    500: '#21290e',
    950: '#000000',
  },
}
SCSS
$custom: #21290e;
$custom-light: #5d624d;
$custom-dark: #000000;
JSON
{
  "hex": "#21290e",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 14
  },
  "hsl": {
    "h": 77.778,
    "s": 49.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26564,
    "c": 0.04622,
    "h": 123.2
  },
  "luminance": 0.01941
}

Semantic roles & 50–950 ramp

primary
#21290E
secondary
#3F3063
accent
#4FD978
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #21290E

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

Preview Lab → · Contrast checker → · Palette generator →

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