#213911#213911

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

Color values

HEX#213911
RGBrgb(33, 57, 17)
HSLhsl(96, 54%, 15%)
HSVhsv(96, 70%, 22%)
CMYKcmyk(42.1%, 0%, 70.2%, 77.6%)
CIE-LABlab(21.17, -17.90, 21.52)
CIE-LCHlch(21.17, 27.99, 129.76°)
OKLaboklab(31.44% -0.0497 0.0501)
OKLCHoklch(31.44% 0.071 134.8)
XYZxyz(2.1915, 3.2900, 1.0498)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213911 #291139
analogous
#353911 #213911 #113915
triadic
#213911 #112139 #391121
tetradic
#213911 #113539 #291139 #391511
square
#213911 #113539 #291139 #391511
split-complementary
#213911 #151139 #391135
monochromatic
#0E1807 #0E1807 #213911 #3C681F #58972D

Accessibility & contrast

On white

12.67
#213911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213911
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213911#FFFFFF#000000##FFFFFF
##2139111.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B340D
Deuteranopia (green-blind)
#383214
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213911;
/* rgb */ color: rgb(33, 57, 17);
/* oklch */ color: oklch(31.4% 0.071 134.8);
Tailwind
colors: {
  custom: {
    50: '#5e6f51',
    500: '#213911',
    950: '#000000',
  },
}
SCSS
$custom: #213911;
$custom-light: #5e6f51;
$custom-dark: #000000;
JSON
{
  "hex": "#213911",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 17
  },
  "hsl": {
    "h": 96,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.31436,
    "c": 0.07061,
    "h": 134.8
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#213911
secondary
#593472
accent
#4ADDA3
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213911

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

Preview Lab → · Contrast checker → · Palette generator →

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