#213111#213111

#213111 is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.0% C 0.057 H 131.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#213111
RGBrgb(33, 49, 17)
HSLhsl(90, 48%, 13%)
HSVhsv(90, 65%, 19%)
CMYKcmyk(32.7%, 0%, 65.3%, 80.8%)
CIE-LABlab(18.19, -13.44, 18.08)
CIE-LCHlch(18.19, 22.53, 126.61°)
OKLaboklab(29.01% -0.0374 0.0428)
OKLCHoklch(29.01% 0.057 131.2)
XYZxyz(1.8267, 2.5604, 0.9282)
Luminance0.0256 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213111 #211131
analogous
#313111 #213111 #113111
triadic
#213111 #112131 #311121
tetradic
#213111 #113131 #211131 #311111
square
#213111 #113131 #211131 #311111
split-complementary
#213111 #111131 #311131
monochromatic
#0F1708 #0F1708 #213111 #405E21 #5E8C31

Accessibility & contrast

On white

13.89
#213111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#213111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213111
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213111#FFFFFF#000000##FFFFFF
##2131111.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332D0E
Deuteranopia (green-blind)
#312C13
Tritanopia (blue-blind)
#222F2A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #213111;
/* rgb */ color: rgb(33, 49, 17);
/* oklch */ color: oklch(29.0% 0.057 131.2);
Tailwind
colors: {
  custom: {
    50: '#5d6950',
    500: '#213111',
    950: '#000000',
  },
}
SCSS
$custom: #213111;
$custom-light: #5d6950;
$custom-dark: #000000;
JSON
{
  "hex": "#213111",
  "rgb": {
    "r": 33,
    "g": 49,
    "b": 17
  },
  "hsl": {
    "h": 90,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29013,
    "c": 0.05683,
    "h": 131.2
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#213111
secondary
#4F346A
accent
#50D894
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #213111

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

Preview Lab → · Contrast checker → · Palette generator →

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