#212906#212906

#212906 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.055 H 121.3°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#212906
RGBrgb(33, 41, 6)
HSLhsl(74, 74%, 9%)
HSVhsv(74, 85%, 16%)
CMYKcmyk(19.5%, 0%, 85.4%, 83.9%)
CIE-LABlab(15.07, -9.85, 19.31)
CIE-LCHlch(15.07, 21.68, 117.02°)
OKLaboklab(26.45% -0.0288 0.0473)
OKLCHoklch(26.45% 0.055 121.3)
XYZxyz(1.4530, 1.9224, 0.4668)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212906 #0E0629
analogous
#292006 #212906 #102906
triadic
#212906 #062129 #290621
tetradic
#212906 #062920 #0E0629 #290610
square
#212906 #062920 #0E0629 #290610
split-complementary
#212906 #061029 #200629
monochromatic
#151B04 #151B04 #212906 #4C5E0E #779416

Accessibility & contrast

On white

15.17
#212906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#212906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212906
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212906#FFFFFF#000000##FFFFFF
##2129061.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2B2608
Tritanopia (blue-blind)
#232622
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #212906;
/* rgb */ color: rgb(33, 41, 6);
/* oklch */ color: oklch(26.5% 0.055 121.3);
Tailwind
colors: {
  custom: {
    50: '#5d6249',
    500: '#212906',
    950: '#000000',
  },
}
SCSS
$custom: #212906;
$custom-light: #5d6249;
$custom-dark: #000000;
JSON
{
  "hex": "#212906",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 73.714,
    "s": 74.468,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26452,
    "c": 0.05542,
    "h": 121.3
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#212906
secondary
#32216A
accent
#37F161
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212906

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

Preview Lab → · Contrast checker → · Palette generator →

#212906 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva