#213D0C#213D0C

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

Color values

HEX#213D0C
RGBrgb(33, 61, 12)
HSLhsl(94, 67%, 14%)
HSVhsv(94, 80%, 24%)
CMYKcmyk(45.9%, 0%, 80.3%, 76.1%)
CIE-LABlab(22.61, -20.50, 25.61)
CIE-LCHlch(22.61, 32.80, 128.68°)
OKLaboklab(32.6% -0.0573 0.058)
OKLCHoklch(32.6% 0.082 134.6)
XYZxyz(2.3623, 3.6872, 0.9350)
Luminance0.0369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D0C #280C3D
analogous
#3A3D0C #213D0C #0C3D10
triadic
#213D0C #0C213D #3D0C21
tetradic
#213D0C #0C3A3D #280C3D #3D100C
square
#213D0C #0C3A3D #280C3D #3D100C
split-complementary
#213D0C #100C3D #3D0C3A
monochromatic
#0E1A05 #0E1A05 #213D0C #3D7016 #58A320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213D0C#FFFFFF#000000##FFFFFF
##213D0C1.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)
#403705
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d0c;
/* rgb */ color: rgb(33, 61, 12);
/* oklch */ color: oklch(32.6% 0.082 134.6);
Tailwind
colors: {
  custom: {
    50: '#5f724e',
    500: '#213d0c',
    950: '#000000',
  },
}
SCSS
$custom: #213d0c;
$custom-light: #5f724e;
$custom-dark: #000000;
JSON
{
  "hex": "#213d0c",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 12
  },
  "hsl": {
    "h": 94.286,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32595,
    "c": 0.08153,
    "h": 134.6
  },
  "luminance": 0.03687
}

Semantic roles & 50–950 ramp

primary
#213D0C
secondary
#582C79
accent
#3EEAA0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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