#212D05#212D05

#212D05 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.063 H 124.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#212D05
RGBrgb(33, 45, 5)
HSLhsl(78, 80%, 10%)
HSVhsv(78, 89%, 18%)
CMYKcmyk(26.7%, 0%, 88.9%, 82.4%)
CIE-LABlab(16.56, -12.38, 21.59)
CIE-LCHlch(16.56, 24.89, 119.83°)
OKLaboklab(27.65% -0.0359 0.0515)
OKLCHoklch(27.65% 0.063 124.9)
XYZxyz(1.5930, 2.2110, 0.4864)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D05 #11052D
analogous
#2D2505 #212D05 #0D2D05
triadic
#212D05 #05212D #2D0521
tetradic
#212D05 #052D25 #11052D #2D050D
square
#212D05 #052D25 #11052D #2D050D
split-complementary
#212D05 #050D2D #25052D
monochromatic
#141C03 #141C03 #212D05 #49640B #729B11

Accessibility & contrast

On white

14.56
#212D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#212D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212D05
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212D05#FFFFFF#000000##FFFFFF
##212D051.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302901
Deuteranopia (green-blind)
#2E2908
Tritanopia (blue-blind)
#232A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d05;
/* rgb */ color: rgb(33, 45, 5);
/* oklch */ color: oklch(27.6% 0.063 124.9);
Tailwind
colors: {
  custom: {
    50: '#5d6649',
    500: '#212d05',
    950: '#000000',
  },
}
SCSS
$custom: #212d05;
$custom-light: #5d6649;
$custom-dark: #000000;
JSON
{
  "hex": "#212d05",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 5
  },
  "hsl": {
    "h": 78,
    "s": 80,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27647,
    "c": 0.06277,
    "h": 124.9
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#212D05
secondary
#371F6F
accent
#31F66C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #212D05

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

Preview Lab → · Contrast checker → · Palette generator →

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