#213811#213811

#213811 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.069 H 134.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#213811
RGBrgb(33, 56, 17)
HSLhsl(95, 53%, 14%)
HSVhsv(95, 70%, 22%)
CMYKcmyk(41.1%, 0%, 69.6%, 78%)
CIE-LABlab(20.80, -17.37, 21.10)
CIE-LCHlch(20.80, 27.33, 129.46°)
OKLaboklab(31.13% -0.0483 0.0492)
OKLCHoklch(31.13% 0.069 134.4)
XYZxyz(2.1425, 3.1921, 1.0334)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213811 #281138
analogous
#353811 #213811 #113815
triadic
#213811 #112138 #381121
tetradic
#213811 #113538 #281138 #381511
square
#213811 #113538 #281138 #381511
split-complementary
#213811 #151138 #381135
monochromatic
#0E1707 #0E1707 #213811 #3D671F #58962E

Accessibility & contrast

On white

12.82
#213811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213811
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213811#FFFFFF#000000##FFFFFF
##2138111.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213811;
/* rgb */ color: rgb(33, 56, 17);
/* oklch */ color: oklch(31.1% 0.069 134.4);
Tailwind
colors: {
  custom: {
    50: '#5e6e50',
    500: '#213811',
    950: '#000000',
  },
}
SCSS
$custom: #213811;
$custom-light: #5e6e50;
$custom-dark: #000000;
JSON
{
  "hex": "#213811",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 17
  },
  "hsl": {
    "h": 95.385,
    "s": 53.425,
    "l": 14.314
  },
  "oklch": {
    "l": 0.31132,
    "c": 0.06894,
    "h": 134.4
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#213811
secondary
#583471
accent
#4BDDA1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213811

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

Preview Lab → · Contrast checker → · Palette generator →

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