#213816#213816

#213816 is a dark, moderate green. Relative luminance 0.032; OKLCH L 31.2% C 0.063 H 136.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#213816
RGBrgb(33, 56, 22)
HSLhsl(101, 44%, 15%)
HSVhsv(101, 61%, 22%)
CMYKcmyk(41.1%, 0%, 60.7%, 78%)
CIE-LABlab(20.86, -16.70, 18.28)
CIE-LCHlch(20.86, 24.76, 132.41°)
OKLaboklab(31.21% -0.046 0.0437)
OKLCHoklch(31.21% 0.063 136.5)
XYZxyz(2.1861, 3.2095, 1.2632)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213816 #2D1638
analogous
#323816 #213816 #16381C
triadic
#213816 #162138 #381621
tetradic
#213816 #163238 #2D1638 #381C16
square
#213816 #163238 #2D1638 #381C16
split-complementary
#213816 #1C1638 #381632
monochromatic
#0D1609 #0D1609 #213816 #3B6427 #559039

Accessibility & contrast

On white

12.79
#213816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#213816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213816
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213816#FFFFFF#000000##FFFFFF
##2138161.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3313
Deuteranopia (green-blind)
#373118
Tritanopia (blue-blind)
#203630
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213816;
/* rgb */ color: rgb(33, 56, 22);
/* oklch */ color: oklch(31.2% 0.063 136.5);
Tailwind
colors: {
  custom: {
    50: '#5e6e54',
    500: '#213816',
    950: '#000000',
  },
}
SCSS
$custom: #213816;
$custom-light: #5e6e54;
$custom-dark: #000000;
JSON
{
  "hex": "#213816",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 22
  },
  "hsl": {
    "h": 100.588,
    "s": 43.59,
    "l": 15.294
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.06343,
    "h": 136.5
  },
  "luminance": 0.0321
}

Semantic roles & 50–950 ramp

primary
#213816
secondary
#5E3B6F
accent
#54D3AA
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213816

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

Preview Lab → · Contrast checker → · Palette generator →

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