#213813#213813

#213813 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.2% C 0.067 H 135.2°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#213813
RGBrgb(33, 56, 19)
HSLhsl(97, 49%, 15%)
HSVhsv(97, 66%, 22%)
CMYKcmyk(41.1%, 0%, 66.1%, 78%)
CIE-LABlab(20.82, -17.12, 20.00)
CIE-LCHlch(20.82, 26.32, 130.56°)
OKLaboklab(31.16% -0.0474 0.0471)
OKLCHoklch(31.16% 0.067 135.2)
XYZxyz(2.1589, 3.1986, 1.1196)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213813 #2A1338
analogous
#343813 #213813 #133818
triadic
#213813 #132138 #381321
tetradic
#213813 #133438 #2A1338 #381813
square
#213813 #133438 #2A1338 #381813
split-complementary
#213813 #181338 #381334
monochromatic
#0D1708 #0D1708 #213813 #3C6623 #579332

Accessibility & contrast

On white

12.81
#213813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#213813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213813
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213813#FFFFFF#000000##FFFFFF
##2138131.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A330F
Deuteranopia (green-blind)
#373116
Tritanopia (blue-blind)
#213630
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213813;
/* rgb */ color: rgb(33, 56, 19);
/* oklch */ color: oklch(31.2% 0.067 135.2);
Tailwind
colors: {
  custom: {
    50: '#5e6e52',
    500: '#213813',
    950: '#000000',
  },
}
SCSS
$custom: #213813;
$custom-light: #5e6e52;
$custom-dark: #000000;
JSON
{
  "hex": "#213813",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 19
  },
  "hsl": {
    "h": 97.297,
    "s": 49.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.31161,
    "c": 0.06681,
    "h": 135.2
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#213813
secondary
#5A3770
accent
#4FD9A5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213813

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

Preview Lab → · Contrast checker → · Palette generator →

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