#213918#213918

#213918 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.5% C 0.063 H 137.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#213918
RGBrgb(33, 57, 24)
HSLhsl(104, 41%, 16%)
HSVhsv(104, 58%, 22%)
CMYKcmyk(42.1%, 0%, 57.9%, 77.6%)
CIE-LABlab(21.27, -16.95, 17.56)
CIE-LCHlch(21.27, 24.41, 133.99°)
OKLaboklab(31.54% -0.0465 0.0422)
OKLCHoklch(31.54% 0.063 137.8)
XYZxyz(2.2551, 3.3154, 1.3851)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213918 #301839
analogous
#313918 #213918 #18391F
triadic
#213918 #182139 #391821
tetradic
#213918 #183139 #301839 #391F18
square
#213918 #183139 #301839 #391F18
split-complementary
#213918 #1F1839 #391831
monochromatic
#0C1609 #0C1609 #213918 #3A642A #538F3C

Accessibility & contrast

On white

12.63
#213918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#213918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213918
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213918#FFFFFF#000000##FFFFFF
##2139181.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3415
Deuteranopia (green-blind)
#37321A
Tritanopia (blue-blind)
#203731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213918;
/* rgb */ color: rgb(33, 57, 24);
/* oklch */ color: oklch(31.5% 0.063 137.8);
Tailwind
colors: {
  custom: {
    50: '#5e6f55',
    500: '#213918',
    950: '#000000',
  },
}
SCSS
$custom: #213918;
$custom-light: #5e6f55;
$custom-dark: #000000;
JSON
{
  "hex": "#213918",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 24
  },
  "hsl": {
    "h": 103.636,
    "s": 40.741,
    "l": 15.882
  },
  "oklch": {
    "l": 0.31544,
    "c": 0.06285,
    "h": 137.8
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#213918
secondary
#623E6F
accent
#57D1AF
background
#F5F6F5
surface
#E9ECE9
border
#C5C7C5
text
#040703
muted
#797A78

Preview Lab

Preview with #213918

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

Preview Lab → · Contrast checker → · Palette generator →

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