#212B07#212B07

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

Color values

HEX#212B07
RGBrgb(33, 43, 7)
HSLhsl(77, 72%, 10%)
HSVhsv(77, 84%, 17%)
CMYKcmyk(23.3%, 0%, 83.7%, 83.1%)
CIE-LABlab(15.83, -10.98, 19.87)
CIE-LCHlch(15.83, 22.70, 118.92°)
OKLaboklab(27.07% -0.0318 0.0479)
OKLCHoklch(27.07% 0.057 123.6)
XYZxyz(1.5294, 2.0664, 0.5193)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212B07 #11072B
analogous
#2B2307 #212B07 #0F2B07
triadic
#212B07 #07212B #2B0721
tetradic
#212B07 #072B23 #11072B #2B070F
square
#212B07 #072B23 #11072B #2B070F
split-complementary
#212B07 #070F2B #23072B
monochromatic
#141A04 #141A04 #212B07 #496010 #729418

Accessibility & contrast

On white

14.86
#212B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212B07
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212B07#FFFFFF#000000##FFFFFF
##212B071.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212b07;
/* rgb */ color: rgb(33, 43, 7);
/* oklch */ color: oklch(27.1% 0.057 123.6);
Tailwind
colors: {
  custom: {
    50: '#5d644a',
    500: '#212b07',
    950: '#000000',
  },
}
SCSS
$custom: #212b07;
$custom-light: #5d644a;
$custom-dark: #000000;
JSON
{
  "hex": "#212b07",
  "rgb": {
    "r": 33,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 76.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27067,
    "c": 0.05745,
    "h": 123.6
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#212B07
secondary
#37236B
accent
#39EF6C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #212B07

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

Preview Lab → · Contrast checker → · Palette generator →

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