#213C0D#213C0D

#213C0D is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.079 H 134.6°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#213C0D
RGBrgb(33, 60, 13)
HSLhsl(94, 64%, 14%)
HSVhsv(94, 78%, 24%)
CMYKcmyk(45%, 0%, 78.3%, 76.5%)
CIE-LABlab(22.25, -19.90, 24.76)
CIE-LCHlch(22.25, 31.77, 128.79°)
OKLaboklab(32.3% -0.0555 0.0564)
OKLCHoklch(32.3% 0.079 134.6)
XYZxyz(2.3157, 3.5840, 0.9505)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0D #280D3C
analogous
#393C0D #213C0D #0D3C11
triadic
#213C0D #0D213C #3C0D21
tetradic
#213C0D #0D393C #280D3C #3C110D
square
#213C0D #0D393C #280D3C #3C110D
split-complementary
#213C0D #110D3C #3C0D39
monochromatic
#0E1905 #0E1905 #213C0D #3D6E18 #58A123

Accessibility & contrast

On white

12.23
#213C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#213C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C0D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0D#FFFFFF#000000##FFFFFF
##213C0D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3707
Deuteranopia (green-blind)
#3B3411
Tritanopia (blue-blind)
#213933
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c0d;
/* rgb */ color: rgb(33, 60, 13);
/* oklch */ color: oklch(32.3% 0.079 134.6);
Tailwind
colors: {
  custom: {
    50: '#5f724e',
    500: '#213c0d',
    950: '#000000',
  },
}
SCSS
$custom: #213c0d;
$custom-light: #5f724e;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0d",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 94.468,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.07916,
    "h": 134.6
  },
  "luminance": 0.03584
}

Semantic roles & 50–950 ramp

primary
#213C0D
secondary
#582D78
accent
#40E7A0
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050802
muted
#797B78

Preview Lab

Preview with #213C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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