#216212#216212

#216212 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.129 H 140.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#216212
RGBrgb(33, 98, 18)
HSLhsl(109, 69%, 23%)
HSVhsv(109, 82%, 38%)
CMYKcmyk(66.3%, 0%, 81.6%, 61.6%)
CIE-LABlab(36.18, -36.28, 36.67)
CIE-LCHlch(36.18, 51.58, 134.69°)
OKLaboklab(43.79% -0.0994 0.0821)
OKLCHoklch(43.79% 0.129 140.5)
XYZxyz(5.1038, 9.1019, 2.0600)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216212 #531262
analogous
#496212 #216212 #12622B
triadic
#216212 #122162 #621221
tetradic
#216212 #124962 #531262 #622B12
square
#216212 #124962 #531262 #622B12
split-complementary
#216212 #2B1262 #621249
monochromatic
#091A05 #102E09 #216212 #32961B #44C925

Accessibility & contrast

On white

7.45
#216212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#216212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #216212
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216212#FFFFFF#000000##FFFFFF
##2162121.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655801
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#175F53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #216212;
/* rgb */ color: rgb(33, 98, 18);
/* oklch */ color: oklch(43.8% 0.129 140.5);
Tailwind
colors: {
  custom: {
    50: '#668f57',
    500: '#216212',
    950: '#000000',
  },
}
SCSS
$custom: #216212;
$custom-light: #668f57;
$custom-dark: #000000;
JSON
{
  "hex": "#216212",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 108.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.12894,
    "h": 140.5
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#216212
secondary
#87369A
accent
#3CECCB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #216212

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

Preview Lab → · Contrast checker → · Palette generator →

#216212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva