#213810#213810

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

Color values

HEX#213810
RGBrgb(33, 56, 16)
HSLhsl(95, 56%, 14%)
HSVhsv(95, 71%, 22%)
CMYKcmyk(41.1%, 0%, 71.4%, 78%)
CIE-LABlab(20.79, -17.48, 21.63)
CIE-LCHlch(20.79, 27.82, 128.94°)
OKLaboklab(31.12% -0.0487 0.0502)
OKLCHoklch(31.12% 0.07 134.1)
XYZxyz(2.1349, 3.1890, 0.9932)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213810 #271038
analogous
#353810 #213810 #103813
triadic
#213810 #102138 #381021
tetradic
#213810 #103538 #271038 #381310
square
#213810 #103538 #271038 #381310
split-complementary
#213810 #131038 #381035
monochromatic
#0E1807 #0E1807 #213810 #3D681E #59972B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213810#FFFFFF#000000##FFFFFF
##2138101.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)
#3A330B
Deuteranopia (green-blind)
#373113
Tritanopia (blue-blind)
#21362F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213810;
/* rgb */ color: rgb(33, 56, 16);
/* oklch */ color: oklch(31.1% 0.070 134.1);
Tailwind
colors: {
  custom: {
    50: '#5e6e50',
    500: '#213810',
    950: '#000000',
  },
}
SCSS
$custom: #213810;
$custom-light: #5e6e50;
$custom-dark: #000000;
JSON
{
  "hex": "#213810",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 94.5,
    "s": 55.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.31119,
    "c": 0.06995,
    "h": 134.1
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#213810
secondary
#573272
accent
#49DF9F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040702
muted
#797A78

Preview Lab

Preview with #213810

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

Preview Lab → · Contrast checker → · Palette generator →

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