#213312#213312

#213312 is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.059 H 132.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#213312
RGBrgb(33, 51, 18)
HSLhsl(93, 48%, 14%)
HSVhsv(93, 65%, 20%)
CMYKcmyk(35.3%, 0%, 64.7%, 80%)
CIE-LABlab(18.95, -14.46, 18.39)
CIE-LCHlch(18.95, 23.39, 128.18°)
OKLaboklab(29.63% -0.0402 0.0435)
OKLCHoklch(29.63% 0.059 132.7)
XYZxyz(1.9202, 2.7346, 0.9988)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213312 #241233
analogous
#313312 #213312 #123313
triadic
#213312 #122133 #331221
tetradic
#213312 #123133 #241233 #331312
square
#213312 #123133 #241233 #331312
split-complementary
#213312 #131233 #331231
monochromatic
#0F1708 #0F1708 #213312 #3E6022 #5C8D32

Accessibility & contrast

On white

13.57
#213312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213312
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213312#FFFFFF#000000##FFFFFF
##2133121.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352F0F
Deuteranopia (green-blind)
#332E14
Tritanopia (blue-blind)
#21312C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213312;
/* rgb */ color: rgb(33, 51, 18);
/* oklch */ color: oklch(29.6% 0.059 132.7);
Tailwind
colors: {
  custom: {
    50: '#5d6a51',
    500: '#213312',
    950: '#000000',
  },
}
SCSS
$custom: #213312;
$custom-light: #5d6a51;
$custom-dark: #000000;
JSON
{
  "hex": "#213312",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 18
  },
  "hsl": {
    "h": 92.727,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.29632,
    "c": 0.05921,
    "h": 132.7
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#213312
secondary
#53356B
accent
#50D79A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040602
muted
#797A78

Preview Lab

Preview with #213312

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

Preview Lab → · Contrast checker → · Palette generator →

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