#212800#212800

#212800 is a dark, moderate yellow-green. Relative luminance 0.018; OKLCH L 26.1% C 0.061 H 119.3°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#212800
RGBrgb(33, 40, 0)
HSLhsl(71, 100%, 8%)
HSVhsv(71, 100%, 16%)
CMYKcmyk(17.5%, 0%, 100%, 84.3%)
CIE-LABlab(14.63, -9.87, 21.18)
CIE-LCHlch(14.63, 23.37, 114.97°)
OKLaboklab(26.07% -0.03 0.0536)
OKLCHoklch(26.07% 0.061 119.3)
XYZxyz(1.3860, 1.8409, 0.2823)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212800 #070028
analogous
#281B00 #212800 #0D2800
triadic
#212800 #002128 #280021
tetradic
#212800 #00281B #070028 #28000D
square
#212800 #00281B #070028 #28000D
split-complementary
#212800 #000D28 #1B0028
monochromatic
#191F00 #191F00 #212800 #536500 #86A200

Accessibility & contrast

On white

15.35
#212800 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#212800 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212800
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212800#FFFFFF#000000##FFFFFF
##2128001.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#2B2502
Tritanopia (blue-blind)
#242520
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #212800;
/* rgb */ color: rgb(33, 40, 0);
/* oklch */ color: oklch(26.1% 0.061 119.3);
Tailwind
colors: {
  custom: {
    50: '#5d6146',
    500: '#212800',
    950: '#000000',
  },
}
SCSS
$custom: #212800;
$custom-light: #5d6146;
$custom-dark: #000000;
JSON
{
  "hex": "#212800",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 0
  },
  "hsl": {
    "h": 70.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.2607,
    "c": 0.06143,
    "h": 119.3
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#212800
secondary
#241470
accent
#29FF4E
background
#F5F5F3
surface
#E9E9E5
border
#C5C5C1
text
#040500
muted
#797977

Preview Lab

Preview with #212800

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

Preview Lab → · Contrast checker → · Palette generator →

#212800 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva