#212D06#212D06

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

Color values

HEX#212D06
RGBrgb(33, 45, 6)
HSLhsl(78, 76%, 10%)
HSVhsv(78, 87%, 18%)
CMYKcmyk(26.7%, 0%, 86.7%, 82.4%)
CIE-LABlab(16.57, -12.28, 21.20)
CIE-LCHlch(16.57, 24.50, 120.08°)
OKLaboklab(27.66% -0.0355 0.0505)
OKLCHoklch(27.66% 0.062 125.1)
XYZxyz(1.5985, 2.2132, 0.5152)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212D06 #12062D
analogous
#2D2606 #212D06 #0D2D06
triadic
#212D06 #06212D #2D0621
tetradic
#212D06 #062D26 #12062D #2D060D
square
#212D06 #062D26 #12062D #2D060D
split-complementary
#212D06 #060D2D #26062D
monochromatic
#141B04 #141B04 #212D06 #49630D #709914

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212D06#FFFFFF#000000##FFFFFF
##212D061.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)
#302902
Deuteranopia (green-blind)
#2E2909
Tritanopia (blue-blind)
#232A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #212d06;
/* rgb */ color: rgb(33, 45, 6);
/* oklch */ color: oklch(27.7% 0.062 125.1);
Tailwind
colors: {
  custom: {
    50: '#5d664a',
    500: '#212d06',
    950: '#000000',
  },
}
SCSS
$custom: #212d06;
$custom-light: #5d664a;
$custom-dark: #000000;
JSON
{
  "hex": "#212d06",
  "rgb": {
    "r": 33,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 78.462,
    "s": 76.471,
    "l": 10
  },
  "oklch": {
    "l": 0.27659,
    "c": 0.0617,
    "h": 125.1
  },
  "luminance": 0.02213
}

Semantic roles & 50–950 ramp

primary
#212D06
secondary
#39216E
accent
#35F36F
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #212D06

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

Preview Lab → · Contrast checker → · Palette generator →

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