#212B05#212B05

#212B05 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.0% C 0.060 H 123.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#212B05
RGBrgb(33, 43, 5)
HSLhsl(76, 79%, 9%)
HSVhsv(76, 88%, 17%)
CMYKcmyk(23.3%, 0%, 88.4%, 83.1%)
CIE-LABlab(15.81, -11.18, 20.66)
CIE-LCHlch(15.81, 23.49, 118.42°)
OKLaboklab(27.04% -0.0326 0.05)
OKLCHoklch(27.04% 0.06 123.2)
XYZxyz(1.5185, 2.0620, 0.4616)
Luminance0.0206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B05 #0F052B
analogous
#2B2205 #212B05 #0E2B05
triadic
#212B05 #05212B #2B0521
tetradic
#212B05 #052B22 #0F052B #2B050E
square
#212B05 #052B22 #0F052B #2B050E
split-complementary
#212B05 #050E2B #22052B
monochromatic
#151B03 #151B03 #212B05 #4B620B #759912

Accessibility & contrast

On white

14.87
#212B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B05
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B05#FFFFFF#000000##FFFFFF
##212B051.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212b05;
/* rgb */ color: rgb(33, 43, 5);
/* oklch */ color: oklch(27.0% 0.060 123.2);
Tailwind
colors: {
  custom: {
    50: '#5d6449',
    500: '#212b05',
    950: '#000000',
  },
}
SCSS
$custom: #212b05;
$custom-light: #5d6449;
$custom-dark: #000000;
JSON
{
  "hex": "#212b05",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 5
  },
  "hsl": {
    "h": 75.789,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27041,
    "c": 0.05968,
    "h": 123.2
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#212B05
secondary
#341F6D
accent
#32F666
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212B05

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

Preview Lab → · Contrast checker → · Palette generator →

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