#212B0D#212B0D

#212B0D is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.051 H 125.1°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#212B0D
RGBrgb(33, 43, 13)
HSLhsl(80, 54%, 11%)
HSVhsv(80, 70%, 17%)
CMYKcmyk(23.3%, 0%, 69.8%, 83.1%)
CIE-LABlab(15.90, -10.34, 17.41)
CIE-LCHlch(15.90, 20.25, 120.71°)
OKLaboklab(27.15% -0.0293 0.0417)
OKLCHoklch(27.15% 0.051 125.1)
XYZxyz(1.5637, 2.0801, 0.6998)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B0D #170D2B
analogous
#2B260D #212B0D #122B0D
triadic
#212B0D #0D212B #2B0D21
tetradic
#212B0D #0D2B26 #170D2B #2B0D12
square
#212B0D #0D2B26 #170D2B #2B0D12
split-complementary
#212B0D #0D122B #260D2B
monochromatic
#121707 #121707 #212B0D #455A1B #698929

Accessibility & contrast

On white

14.83
#212B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#212B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B0D
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B0D#FFFFFF#000000##FFFFFF
##212B0D1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E280A
Deuteranopia (green-blind)
#2C270F
Tritanopia (blue-blind)
#232924
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212b0d;
/* rgb */ color: rgb(33, 43, 13);
/* oklch */ color: oklch(27.1% 0.051 125.1);
Tailwind
colors: {
  custom: {
    50: '#5d644d',
    500: '#212b0d',
    950: '#000000',
  },
}
SCSS
$custom: #212b0d;
$custom-light: #5d644d;
$custom-dark: #000000;
JSON
{
  "hex": "#212b0d",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 13
  },
  "hsl": {
    "h": 80,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27146,
    "c": 0.05094,
    "h": 125.1
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#212B0D
secondary
#412E66
accent
#4BDD7C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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