#213D0D#213D0D

#213D0D is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.081 H 134.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#213D0D
RGBrgb(33, 61, 13)
HSLhsl(95, 65%, 15%)
HSVhsv(95, 79%, 24%)
CMYKcmyk(45.9%, 0%, 78.7%, 76.1%)
CIE-LABlab(22.62, -20.41, 25.15)
CIE-LCHlch(22.62, 32.39, 129.07°)
OKLaboklab(32.61% -0.0569 0.0572)
OKLCHoklch(32.61% 0.081 134.9)
XYZxyz(2.3685, 3.6898, 0.9681)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D0D #290D3D
analogous
#393D0D #213D0D #0D3D11
triadic
#213D0D #0D213D #3D0D21
tetradic
#213D0D #0D393D #290D3D #3D110D
square
#213D0D #0D393D #290D3D #3D110D
split-complementary
#213D0D #110D3D #3D0D39
monochromatic
#0E1905 #0E1905 #213D0D #3C6F18 #58A223

Accessibility & contrast

On white

12.08
#213D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#213D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D0D
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D0D#FFFFFF#000000##FFFFFF
##213D0D1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403706
Deuteranopia (green-blind)
#3C3511
Tritanopia (blue-blind)
#203A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d0d;
/* rgb */ color: rgb(33, 61, 13);
/* oklch */ color: oklch(32.6% 0.081 134.9);
Tailwind
colors: {
  custom: {
    50: '#5f724f',
    500: '#213d0d',
    950: '#000000',
  },
}
SCSS
$custom: #213d0d;
$custom-light: #5f724f;
$custom-dark: #000000;
JSON
{
  "hex": "#213d0d",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 13
  },
  "hsl": {
    "h": 95,
    "s": 64.865,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.08072,
    "h": 134.9
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#213D0D
secondary
#592D79
accent
#40E8A2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213D0D

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

Preview Lab → · Contrast checker → · Palette generator →

#213D0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva