#212E07#212E07

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

Color values

HEX#212E07
RGBrgb(33, 46, 7)
HSLhsl(80, 74%, 10%)
HSVhsv(80, 85%, 18%)
CMYKcmyk(28.3%, 0%, 84.8%, 82%)
CIE-LABlab(16.95, -12.77, 21.26)
CIE-LCHlch(16.95, 24.80, 120.99°)
OKLaboklab(27.97% -0.0367 0.0503)
OKLCHoklch(27.97% 0.062 126.2)
XYZxyz(1.6426, 2.2926, 0.5570)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E07 #14072E
analogous
#2E2707 #212E07 #0D2E07
triadic
#212E07 #07212E #2E0721
tetradic
#212E07 #072E27 #14072E #2E070D
square
#212E07 #072E27 #14072E #2E070D
split-complementary
#212E07 #070D2E #27072E
monochromatic
#131B04 #131B04 #212E07 #47630F #6D9817

Accessibility & contrast

On white

14.40
#212E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212E07
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212E07#FFFFFF#000000##FFFFFF
##212E071.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212e07;
/* rgb */ color: rgb(33, 46, 7);
/* oklch */ color: oklch(28.0% 0.062 126.2);
Tailwind
colors: {
  custom: {
    50: '#5d664a',
    500: '#212e07',
    950: '#000000',
  },
}
SCSS
$custom: #212e07;
$custom-light: #5d664a;
$custom-dark: #000000;
JSON
{
  "hex": "#212e07",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 7
  },
  "hsl": {
    "h": 80,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27974,
    "c": 0.06224,
    "h": 126.2
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#212E07
secondary
#3C236E
accent
#38F075
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212E07

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

Preview Lab → · Contrast checker → · Palette generator →

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