#213917#213917

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

Color values

HEX#213917
RGBrgb(33, 57, 23)
HSLhsl(102, 43%, 16%)
HSVhsv(102, 60%, 22%)
CMYKcmyk(42.1%, 0%, 59.6%, 77.6%)
CIE-LABlab(21.25, -17.10, 18.15)
CIE-LCHlch(21.25, 24.94, 133.30°)
OKLaboklab(31.53% -0.047 0.0435)
OKLCHoklch(31.53% 0.064 137.3)
XYZxyz(2.2449, 3.3113, 1.3313)
Luminance0.0331 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213917 #2F1739
analogous
#323917 #213917 #17391E
triadic
#213917 #172139 #391721
tetradic
#213917 #173239 #2F1739 #391E17
square
#213917 #173239 #2F1739 #391E17
split-complementary
#213917 #1E1739 #391732
monochromatic
#0D1609 #0D1609 #213917 #3A6529 #53903A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213917#FFFFFF#000000##FFFFFF
##2139171.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)
#3B3414
Deuteranopia (green-blind)
#373219
Tritanopia (blue-blind)
#203731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213917;
/* rgb */ color: rgb(33, 57, 23);
/* oklch */ color: oklch(31.5% 0.064 137.3);
Tailwind
colors: {
  custom: {
    50: '#5e6f55',
    500: '#213917',
    950: '#000000',
  },
}
SCSS
$custom: #213917;
$custom-light: #5e6f55;
$custom-dark: #000000;
JSON
{
  "hex": "#213917",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 23
  },
  "hsl": {
    "h": 102.353,
    "s": 42.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.31527,
    "c": 0.06403,
    "h": 137.3
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#213917
secondary
#603C6F
accent
#56D2AE
background
#F5F6F4
surface
#E9ECE8
border
#C5C7C4
text
#040703
muted
#797A78

Preview Lab

Preview with #213917

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

Preview Lab → · Contrast checker → · Palette generator →

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