#212E06#212E06

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

Color values

HEX#212E06
RGBrgb(33, 46, 6)
HSLhsl(80, 77%, 10%)
HSVhsv(80, 87%, 18%)
CMYKcmyk(28.3%, 0%, 87%, 82%)
CIE-LABlab(16.94, -12.87, 21.66)
CIE-LCHlch(16.94, 25.19, 120.72°)
OKLaboklab(27.96% -0.0371 0.0512)
OKLCHoklch(27.96% 0.063 125.9)
XYZxyz(1.6371, 2.2904, 0.5281)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212E06 #13062E
analogous
#2E2706 #212E06 #0D2E06
triadic
#212E06 #06212E #2E0621
tetradic
#212E06 #062E27 #13062E #2E060D
square
#212E06 #062E27 #13062E #2E060D
split-complementary
#212E06 #060D2E #27062E
monochromatic
#131B04 #131B04 #212E06 #48640D #6F9A14

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##212E06#FFFFFF#000000##FFFFFF
##212E061.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)
#312A02
Deuteranopia (green-blind)
#2F2A09
Tritanopia (blue-blind)
#232B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #212e06;
/* rgb */ color: rgb(33, 46, 6);
/* oklch */ color: oklch(28.0% 0.063 125.9);
Tailwind
colors: {
  custom: {
    50: '#5d664a',
    500: '#212e06',
    950: '#000000',
  },
}
SCSS
$custom: #212e06;
$custom-light: #5d664a;
$custom-dark: #000000;
JSON
{
  "hex": "#212e06",
  "rgb": {
    "r": 33,
    "g": 46,
    "b": 6
  },
  "hsl": {
    "h": 79.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27962,
    "c": 0.06327,
    "h": 125.9
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#212E06
secondary
#3A216F
accent
#34F372
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #212E06

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

Preview Lab → · Contrast checker → · Palette generator →

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