#212A0A#212A0A

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

Color values

HEX#212A0A
RGBrgb(33, 42, 10)
HSLhsl(77, 62%, 10%)
HSVhsv(77, 76%, 16%)
CMYKcmyk(21.4%, 0%, 76.2%, 83.5%)
CIE-LABlab(15.49, -10.05, 18.22)
CIE-LCHlch(15.49, 20.81, 118.89°)
OKLaboklab(26.8% -0.0288 0.044)
OKLCHoklch(26.8% 0.053 123.3)
XYZxyz(1.5100, 2.0012, 0.5938)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A0A #130A2A
analogous
#2A230A #212A0A #112A0A
triadic
#212A0A #0A212A #2A0A21
tetradic
#212A0A #0A2A23 #130A2A #2A0A11
square
#212A0A #0A2A23 #130A2A #2A0A11
split-complementary
#212A0A #0A112A #230A2A
monochromatic
#131906 #131906 #212A0A #485B16 #6F8D22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212A0A#FFFFFF#000000##FFFFFF
##212A0A1.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)
#2D2707
Deuteranopia (green-blind)
#2C270C
Tritanopia (blue-blind)
#232823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212a0a;
/* rgb */ color: rgb(33, 42, 10);
/* oklch */ color: oklch(26.8% 0.053 123.3);
Tailwind
colors: {
  custom: {
    50: '#5d634b',
    500: '#212a0a',
    950: '#000000',
  },
}
SCSS
$custom: #212a0a;
$custom-light: #5d634b;
$custom-dark: #000000;
JSON
{
  "hex": "#212a0a",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 76.875,
    "s": 61.538,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26804,
    "c": 0.05258,
    "h": 123.3
  },
  "luminance": 0.02001
}

Semantic roles & 50–950 ramp

primary
#212A0A
secondary
#3A2967
accent
#43E571
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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