#212C07#212C07

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

Color values

HEX#212C07
RGBrgb(33, 44, 7)
HSLhsl(78, 73%, 10%)
HSVhsv(78, 84%, 17%)
CMYKcmyk(25%, 0%, 84.1%, 82.7%)
CIE-LABlab(16.21, -11.58, 20.34)
CIE-LCHlch(16.21, 23.40, 119.66°)
OKLaboklab(27.37% -0.0334 0.0487)
OKLCHoklch(27.37% 0.059 124.5)
XYZxyz(1.5662, 2.1400, 0.5315)
Luminance0.0214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212C07 #12072C
analogous
#2C2507 #212C07 #0E2C07
triadic
#212C07 #07212C #2C0721
tetradic
#212C07 #072C25 #12072C #2C070E
square
#212C07 #072C25 #12072C #2C070E
split-complementary
#212C07 #070E2C #25072C
monochromatic
#141A04 #141A04 #212C07 #49610F #709618

Accessibility & contrast

On white

14.71
#212C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #212C07
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212C07#FFFFFF#000000##FFFFFF
##212C071.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #212c07;
/* rgb */ color: rgb(33, 44, 7);
/* oklch */ color: oklch(27.4% 0.059 124.5);
Tailwind
colors: {
  custom: {
    50: '#5d654a',
    500: '#212c07',
    950: '#000000',
  },
}
SCSS
$custom: #212c07;
$custom-light: #5d654a;
$custom-dark: #000000;
JSON
{
  "hex": "#212c07",
  "rgb": {
    "r": 33,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 77.838,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.27369,
    "c": 0.05905,
    "h": 124.5
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#212C07
secondary
#39236C
accent
#39EF6F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #212C07

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

Preview Lab → · Contrast checker → · Palette generator →

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