#212A09#212A09

#212A09 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.054 H 123.0°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#212A09
RGBrgb(33, 42, 9)
HSLhsl(76, 65%, 10%)
HSVhsv(76, 79%, 16%)
CMYKcmyk(21.4%, 0%, 78.6%, 83.5%)
CIE-LABlab(15.48, -10.16, 18.61)
CIE-LCHlch(15.48, 21.20, 118.62°)
OKLaboklab(26.79% -0.0292 0.045)
OKLCHoklch(26.79% 0.054 123)
XYZxyz(1.5045, 1.9990, 0.5650)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A09 #12092A
analogous
#2A2309 #212A09 #102A09
triadic
#212A09 #09212A #2A0921
tetradic
#212A09 #092A23 #12092A #2A0910
square
#212A09 #092A23 #12092A #2A0910
split-complementary
#212A09 #09102A #23092A
monochromatic
#141905 #141905 #212A09 #495C14 #708F1F

Accessibility & contrast

On white

15.00
#212A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#212A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212A09
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A09#FFFFFF#000000##FFFFFF
##212A091.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2706
Deuteranopia (green-blind)
#2C270B
Tritanopia (blue-blind)
#232823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212a09;
/* rgb */ color: rgb(33, 42, 9);
/* oklch */ color: oklch(26.8% 0.054 123.0);
Tailwind
colors: {
  custom: {
    50: '#5d634b',
    500: '#212a09',
    950: '#000000',
  },
}
SCSS
$custom: #212a09;
$custom-light: #5d634b;
$custom-dark: #000000;
JSON
{
  "hex": "#212a09",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 76.364,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.26791,
    "c": 0.05366,
    "h": 123
  },
  "luminance": 0.01999
}

Semantic roles & 50–950 ramp

primary
#212A09
secondary
#392768
accent
#40E86E
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212A09

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

Preview Lab → · Contrast checker → · Palette generator →

#212A09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva