#213D0B#213D0B

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

Color values

HEX#213D0B
RGBrgb(33, 61, 11)
HSLhsl(94, 69%, 14%)
HSVhsv(94, 82%, 24%)
CMYKcmyk(45.9%, 0%, 82%, 76.1%)
CIE-LABlab(22.60, -20.59, 26.04)
CIE-LCHlch(22.60, 33.20, 128.33°)
OKLaboklab(32.59% -0.0576 0.0588)
OKLCHoklch(32.59% 0.082 134.4)
XYZxyz(2.3563, 3.6849, 0.9036)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D0B #270B3D
analogous
#3A3D0B #213D0B #0B3D0E
triadic
#213D0B #0B213D #3D0B21
tetradic
#213D0B #0B3A3D #270B3D #3D0E0B
square
#213D0B #0B3A3D #270B3D #3D0E0B
split-complementary
#213D0B #0E0B3D #3D0B3A
monochromatic
#0E1A05 #0E1A05 #213D0B #3D7114 #59A51E

Accessibility & contrast

On white

12.09
#213D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213D0B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D0B#FFFFFF#000000##FFFFFF
##213D0B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403704
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d0b;
/* rgb */ color: rgb(33, 61, 11);
/* oklch */ color: oklch(32.6% 0.082 134.4);
Tailwind
colors: {
  custom: {
    50: '#5f724d',
    500: '#213d0b',
    950: '#000000',
  },
}
SCSS
$custom: #213d0b;
$custom-light: #5f724d;
$custom-dark: #000000;
JSON
{
  "hex": "#213d0b",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 11
  },
  "hsl": {
    "h": 93.6,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32586,
    "c": 0.0823,
    "h": 134.4
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#213D0B
secondary
#572A7A
accent
#3CEC9F
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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