#216D1F#216D1F

#216D1F is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.134 H 142.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#216D1F
RGBrgb(33, 109, 31)
HSLhsl(118, 56%, 27%)
HSVhsv(118, 72%, 43%)
CMYKcmyk(69.7%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.18, -39.34, 35.43)
CIE-LCHlch(40.18, 52.95, 137.99°)
OKLaboklab(47.13% -0.1069 0.0814)
OKLCHoklch(47.13% 0.134 142.7)
XYZxyz(6.3428, 11.3589, 3.1543)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216D1F #6B1F6D
analogous
#486D1F #216D1F #1F6D44
triadic
#216D1F #1F216D #6D1F21
tetradic
#216D1F #1F486D #6B1F6D #6D441F
square
#216D1F #1F486D #6B1F6D #6D441F
split-complementary
#216D1F #441F6D #6D1F48
monochromatic
#071807 #133D11 #216D1F #2F9D2D #42C83E

Accessibility & contrast

On white

6.42
#216D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#216D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #216D1F
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216D1F#FFFFFF#000000##FFFFFF
##216D1F1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#0F6A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #216d1f;
/* rgb */ color: rgb(33, 109, 31);
/* oklch */ color: oklch(47.1% 0.134 142.7);
Tailwind
colors: {
  custom: {
    50: '#68985f',
    500: '#216d1f',
    950: '#000000',
  },
}
SCSS
$custom: #216d1f;
$custom-light: #68985f;
$custom-dark: #000000;
JSON
{
  "hex": "#216d1f",
  "rgb": {
    "r": 33,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 118.462,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.13438,
    "h": 142.7
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#216D1F
secondary
#9F47A1
accent
#49DFDB
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #216D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#216D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva