#212A0D#212A0D

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

Color values

HEX#212A0D
RGBrgb(33, 42, 13)
HSLhsl(79, 53%, 11%)
HSVhsv(79, 69%, 16%)
CMYKcmyk(21.4%, 0%, 69%, 83.5%)
CIE-LABlab(15.53, -9.72, 16.94)
CIE-LCHlch(15.53, 19.53, 119.85°)
OKLaboklab(26.85% -0.0275 0.0408)
OKLCHoklch(26.85% 0.049 124.1)
XYZxyz(1.5278, 2.0083, 0.6878)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212A0D #160D2A
analogous
#2A240D #212A0D #122A0D
triadic
#212A0D #0D212A #2A0D21
tetradic
#212A0D #0D2A24 #160D2A #2A0D12
square
#212A0D #0D2A24 #160D2A #2A0D12
split-complementary
#212A0D #0D122A #240D2A
monochromatic
#121707 #121707 #212A0D #46591B #6A872A

Accessibility & contrast

On white

14.98
#212A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212A0D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212A0D#FFFFFF#000000##FFFFFF
##212A0D1.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270A
Deuteranopia (green-blind)
#2B270F
Tritanopia (blue-blind)
#232824
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212a0d;
/* rgb */ color: rgb(33, 42, 13);
/* oklch */ color: oklch(26.8% 0.049 124.1);
Tailwind
colors: {
  custom: {
    50: '#5d634d',
    500: '#212a0d',
    950: '#000000',
  },
}
SCSS
$custom: #212a0d;
$custom-light: #5d634d;
$custom-dark: #000000;
JSON
{
  "hex": "#212a0d",
  "rgb": {
    "r": 33,
    "g": 42,
    "b": 13
  },
  "hsl": {
    "h": 78.621,
    "s": 52.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.26847,
    "c": 0.0492,
    "h": 124.1
  },
  "luminance": 0.02008
}

Semantic roles & 50–950 ramp

primary
#212A0D
secondary
#3F2E64
accent
#4CDC78
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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