#212B00#212B00

#212B00 is a dark, moderate yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.066 H 122.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#212B00
RGBrgb(33, 43, 0)
HSLhsl(74, 100%, 8%)
HSVhsv(74, 100%, 17%)
CMYKcmyk(23.3%, 0%, 100%, 83.1%)
CIE-LABlab(15.75, -11.70, 22.62)
CIE-LCHlch(15.75, 25.47, 117.35°)
OKLaboklab(26.98% -0.035 0.0555)
OKLCHoklch(26.98% 0.066 122.2)
XYZxyz(1.4911, 2.0511, 0.3173)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B00 #0A002B
analogous
#2B1F00 #212B00 #0B2B00
triadic
#212B00 #00212B #2B0021
tetradic
#212B00 #002B1F #0A002B #2B000B
square
#212B00 #002B1F #0A002B #2B000B
split-complementary
#212B00 #000B2B #1F002B
monochromatic
#171F00 #171F00 #212B00 #506800 #7FA500

Accessibility & contrast

On white

14.89
#212B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#212B00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212B00
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B00#FFFFFF#000000##FFFFFF
##212B001.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2D2703
Tritanopia (blue-blind)
#242823
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #212b00;
/* rgb */ color: rgb(33, 43, 0);
/* oklch */ color: oklch(27.0% 0.066 122.2);
Tailwind
colors: {
  custom: {
    50: '#5d6447',
    500: '#212b00',
    950: '#000000',
  },
}
SCSS
$custom: #212b00;
$custom-light: #5d6447;
$custom-dark: #000000;
JSON
{
  "hex": "#212b00",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 0
  },
  "hsl": {
    "h": 73.953,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26978,
    "c": 0.0656,
    "h": 122.2
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#212B00
secondary
#2A1473
accent
#29FF5B
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #212B00

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

Preview Lab → · Contrast checker → · Palette generator →

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