#216812#216812

#216812 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.136 H 140.7°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#216812
RGBrgb(33, 104, 18)
HSLhsl(110, 70%, 24%)
HSVhsv(110, 83%, 41%)
CMYKcmyk(68.3%, 0%, 82.7%, 59.2%)
CIE-LABlab(38.32, -38.57, 38.73)
CIE-LCHlch(38.32, 54.66, 134.88°)
OKLaboklab(45.56% -0.1056 0.0864)
OKLCHoklch(45.56% 0.136 140.7)
XYZxyz(5.6864, 10.2671, 2.2542)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216812 #591268
analogous
#4C6812 #216812 #12682E
triadic
#216812 #122168 #681221
tetradic
#216812 #124C68 #591268 #682E12
square
#216812 #124C68 #591268 #682E12
split-complementary
#216812 #2E1268 #68124C
monochromatic
#081A05 #103409 #216812 #329C1B #42D024

Accessibility & contrast

On white

6.88
#216812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#216812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #216812
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216812#FFFFFF#000000##FFFFFF
##2168121.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#156458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #216812;
/* rgb */ color: rgb(33, 104, 18);
/* oklch */ color: oklch(45.6% 0.136 140.7);
Tailwind
colors: {
  custom: {
    50: '#679458',
    500: '#216812',
    950: '#000000',
  },
}
SCSS
$custom: #216812;
$custom-light: #679458;
$custom-dark: #000000;
JSON
{
  "hex": "#216812",
  "rgb": {
    "r": 33,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 109.535,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.13644,
    "h": 140.7
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#216812
secondary
#8D36A0
accent
#3BEDCE
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #216812

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

Preview Lab → · Contrast checker → · Palette generator →

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