#213912#213912

#213912 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.4% C 0.070 H 135.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#213912
RGBrgb(33, 57, 18)
HSLhsl(97, 52%, 15%)
HSVhsv(97, 68%, 22%)
CMYKcmyk(42.1%, 0%, 68.4%, 77.6%)
CIE-LABlab(21.18, -17.78, 20.98)
CIE-LCHlch(21.18, 27.50, 130.29°)
OKLaboklab(31.45% -0.0493 0.0491)
OKLCHoklch(31.45% 0.07 135.1)
XYZxyz(2.1995, 3.2932, 1.0919)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213912 #2A1239
analogous
#353912 #213912 #123917
triadic
#213912 #122139 #391221
tetradic
#213912 #123539 #2A1239 #391712
square
#213912 #123539 #2A1239 #391712
split-complementary
#213912 #171239 #391235
monochromatic
#0D1707 #0D1707 #213912 #3C6821 #57962F

Accessibility & contrast

On white

12.66
#213912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213912
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213912#FFFFFF#000000##FFFFFF
##2139121.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340E
Deuteranopia (green-blind)
#383215
Tritanopia (blue-blind)
#213731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213912;
/* rgb */ color: rgb(33, 57, 18);
/* oklch */ color: oklch(31.4% 0.070 135.1);
Tailwind
colors: {
  custom: {
    50: '#5e6f51',
    500: '#213912',
    950: '#000000',
  },
}
SCSS
$custom: #213912;
$custom-light: #5e6f51;
$custom-dark: #000000;
JSON
{
  "hex": "#213912",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 18
  },
  "hsl": {
    "h": 96.923,
    "s": 52,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31449,
    "c": 0.06958,
    "h": 135.1
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#213912
secondary
#5A3572
accent
#4CDBA4
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213912

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

Preview Lab → · Contrast checker → · Palette generator →

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