#212C09#212C09

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

Color values

HEX#212C09
RGBrgb(33, 44, 9)
HSLhsl(79, 66%, 10%)
HSVhsv(79, 80%, 17%)
CMYKcmyk(25%, 0%, 79.5%, 82.7%)
CIE-LABlab(16.23, -11.38, 19.55)
CIE-LCHlch(16.23, 22.62, 120.20°)
OKLaboklab(27.39% -0.0326 0.0467)
OKLCHoklch(27.39% 0.057 125)
XYZxyz(1.5772, 2.1444, 0.5892)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C09 #14092C
analogous
#2C2509 #212C09 #0F2C09
triadic
#212C09 #09212C #2C0921
tetradic
#212C09 #092C25 #14092C #2C090F
square
#212C09 #092C25 #14092C #2C090F
split-complementary
#212C09 #090F2C #25092C
monochromatic
#131905 #131905 #212C09 #475F13 #6D921E

Accessibility & contrast

On white

14.70
#212C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#212C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212C09
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C09#FFFFFF#000000##FFFFFF
##212C091.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#2D280C
Tritanopia (blue-blind)
#232925
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #212c09;
/* rgb */ color: rgb(33, 44, 9);
/* oklch */ color: oklch(27.4% 0.057 125.0);
Tailwind
colors: {
  custom: {
    50: '#5d654b',
    500: '#212c09',
    950: '#000000',
  },
}
SCSS
$custom: #212c09;
$custom-light: #5d654b;
$custom-dark: #000000;
JSON
{
  "hex": "#212c09",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 78.857,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27393,
    "c": 0.05695,
    "h": 125
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#212C09
secondary
#3C276A
accent
#3FE974
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #212C09

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

Preview Lab → · Contrast checker → · Palette generator →

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