#212E09#212E09

#212E09 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.060 H 126.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#212E09
RGBrgb(33, 46, 9)
HSLhsl(81, 67%, 11%)
HSVhsv(81, 80%, 18%)
CMYKcmyk(28.3%, 0%, 80.4%, 82%)
CIE-LABlab(16.97, -12.58, 20.48)
CIE-LCHlch(16.97, 24.03, 121.56°)
OKLaboklab(28% -0.0359 0.0483)
OKLCHoklch(28% 0.06 126.6)
XYZxyz(1.6535, 2.2970, 0.6146)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E09 #16092E
analogous
#2E2809 #212E09 #0E2E09
triadic
#212E09 #09212E #2E0921
tetradic
#212E09 #092E28 #16092E #2E090E
square
#212E09 #092E28 #16092E #2E090E
split-complementary
#212E09 #090E2E #28092E
monochromatic
#121A05 #121A05 #212E09 #466113 #6A941D

Accessibility & contrast

On white

14.39
#212E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#212E09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212E09
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E09#FFFFFF#000000##FFFFFF
##212E091.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A05
Deuteranopia (green-blind)
#2F2A0C
Tritanopia (blue-blind)
#232B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212e09;
/* rgb */ color: rgb(33, 46, 9);
/* oklch */ color: oklch(28.0% 0.060 126.6);
Tailwind
colors: {
  custom: {
    50: '#5d664b',
    500: '#212e09',
    950: '#000000',
  },
}
SCSS
$custom: #212e09;
$custom-light: #5d664b;
$custom-dark: #000000;
JSON
{
  "hex": "#212e09",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 9
  },
  "hsl": {
    "h": 81.081,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27998,
    "c": 0.06022,
    "h": 126.6
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#212E09
secondary
#3F276C
accent
#3EEA7A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212E09

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

Preview Lab → · Contrast checker → · Palette generator →

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