#212904#212904

#212904 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.4% C 0.058 H 121.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#212904
RGBrgb(33, 41, 4)
HSLhsl(73, 82%, 9%)
HSVhsv(73, 90%, 16%)
CMYKcmyk(19.5%, 0%, 90.2%, 83.9%)
CIE-LABlab(15.05, -10.06, 20.10)
CIE-LCHlch(15.05, 22.47, 116.59°)
OKLaboklab(26.42% -0.0297 0.0495)
OKLCHoklch(26.42% 0.058 121)
XYZxyz(1.4421, 1.9180, 0.4091)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212904 #0C0429
analogous
#291F04 #212904 #0F2904
triadic
#212904 #042129 #290421
tetradic
#212904 #04291F #0C0429 #29040F
square
#212904 #04291F #0C0429 #29040F
split-complementary
#212904 #040F29 #1F0429
monochromatic
#161C03 #161C03 #212904 #4E6109 #7B990F

Accessibility & contrast

On white

15.18
#212904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212904
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212904#FFFFFF#000000##FFFFFF
##2129041.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212904;
/* rgb */ color: rgb(33, 41, 4);
/* oklch */ color: oklch(26.4% 0.058 121.0);
Tailwind
colors: {
  custom: {
    50: '#5d6248',
    500: '#212904',
    950: '#000000',
  },
}
SCSS
$custom: #212904;
$custom-light: #5d6248;
$custom-dark: #000000;
JSON
{
  "hex": "#212904",
  "rgb": {
    "r": 33,
    "g": 41,
    "b": 4
  },
  "hsl": {
    "h": 72.973,
    "s": 82.222,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26425,
    "c": 0.05779,
    "h": 121
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#212904
secondary
#2E1D6C
accent
#2FF95B
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #212904

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

Preview Lab → · Contrast checker → · Palette generator →

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