#212D0D#212D0D

#212D0D is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.7% C 0.054 H 126.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#212D0D
RGBrgb(33, 45, 13)
HSLhsl(83, 55%, 11%)
HSVhsv(83, 71%, 18%)
CMYKcmyk(26.7%, 0%, 71.1%, 82.4%)
CIE-LABlab(16.65, -11.56, 18.34)
CIE-LCHlch(16.65, 21.68, 122.23°)
OKLaboklab(27.75% -0.0327 0.0435)
OKLCHoklch(27.75% 0.054 126.9)
XYZxyz(1.6382, 2.2291, 0.7246)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D0D #190D2D
analogous
#2D290D #212D0D #112D0D
triadic
#212D0D #0D212D #2D0D21
tetradic
#212D0D #0D2D29 #190D2D #2D0D11
square
#212D0D #0D2D29 #190D2D #2D0D11
split-complementary
#212D0D #0D112D #290D2D
monochromatic
#111807 #111807 #212D0D #445C1B #678C28

Accessibility & contrast

On white

14.52
#212D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#212D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D0D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D0D#FFFFFF#000000##FFFFFF
##212D0D1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0A
Deuteranopia (green-blind)
#2E290F
Tritanopia (blue-blind)
#222B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d0d;
/* rgb */ color: rgb(33, 45, 13);
/* oklch */ color: oklch(27.7% 0.054 126.9);
Tailwind
colors: {
  custom: {
    50: '#5d664d',
    500: '#212d0d',
    950: '#000000',
  },
}
SCSS
$custom: #212d0d;
$custom-light: #5d664d;
$custom-dark: #000000;
JSON
{
  "hex": "#212d0d",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 13
  },
  "hsl": {
    "h": 82.5,
    "s": 55.172,
    "l": 11.373
  },
  "oklch": {
    "l": 0.27747,
    "c": 0.0544,
    "h": 126.9
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#212D0D
secondary
#442E68
accent
#49DF81
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #212D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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