#213311#213311

#213311 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.060 H 132.3°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#213311
RGBrgb(33, 51, 17)
HSLhsl(92, 50%, 13%)
HSVhsv(92, 67%, 20%)
CMYKcmyk(35.3%, 0%, 66.7%, 80%)
CIE-LABlab(18.93, -14.59, 18.96)
CIE-LCHlch(18.93, 23.93, 127.58°)
OKLaboklab(29.62% -0.0406 0.0446)
OKLCHoklch(29.62% 0.06 132.3)
XYZxyz(1.9122, 2.7314, 0.9567)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213311 #231133
analogous
#323311 #213311 #113312
triadic
#213311 #112133 #331121
tetradic
#213311 #113233 #231133 #331211
square
#213311 #113233 #231133 #331211
split-complementary
#213311 #121133 #331132
monochromatic
#0F1708 #0F1708 #213311 #3F6120 #5C8F30

Accessibility & contrast

On white

13.58
#213311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#213311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213311
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213311#FFFFFF#000000##FFFFFF
##2133111.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0E
Deuteranopia (green-blind)
#332E13
Tritanopia (blue-blind)
#21312B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213311;
/* rgb */ color: rgb(33, 51, 17);
/* oklch */ color: oklch(29.6% 0.060 132.3);
Tailwind
colors: {
  custom: {
    50: '#5d6a50',
    500: '#213311',
    950: '#000000',
  },
}
SCSS
$custom: #213311;
$custom-light: #5d6a50;
$custom-dark: #000000;
JSON
{
  "hex": "#213311",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 17
  },
  "hsl": {
    "h": 91.765,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.29617,
    "c": 0.06035,
    "h": 132.3
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#213311
secondary
#52346C
accent
#4EDA98
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #213311

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

Preview Lab → · Contrast checker → · Palette generator →

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