#213C0A#213C0A

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

Color values

HEX#213C0A
RGBrgb(33, 60, 10)
HSLhsl(92, 71%, 14%)
HSVhsv(92, 83%, 24%)
CMYKcmyk(45%, 0%, 83.3%, 76.5%)
CIE-LABlab(22.22, -20.17, 26.06)
CIE-LCHlch(22.22, 32.95, 127.73°)
OKLaboklab(32.27% -0.0565 0.0588)
OKLCHoklch(32.27% 0.082 133.9)
XYZxyz(2.2978, 3.5769, 0.8564)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C0A #250A3C
analogous
#3A3C0A #213C0A #0A3C0C
triadic
#213C0A #0A213C #3C0A21
tetradic
#213C0A #0A3A3C #250A3C #3C0C0A
square
#213C0A #0A3A3C #250A3C #3C0C0A
split-complementary
#213C0A #0C0A3C #3C0A3A
monochromatic
#0E1A04 #0E1A04 #213C0A #3E7013 #5BA51B

Accessibility & contrast

On white

12.24
#213C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #213C0A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C0A#FFFFFF#000000##FFFFFF
##213C0A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3703
Deuteranopia (green-blind)
#3B340F
Tritanopia (blue-blind)
#213932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c0a;
/* rgb */ color: rgb(33, 60, 10);
/* oklch */ color: oklch(32.3% 0.082 133.9);
Tailwind
colors: {
  custom: {
    50: '#5f724d',
    500: '#213c0a',
    950: '#000000',
  },
}
SCSS
$custom: #213c0a;
$custom-light: #5f724d;
$custom-dark: #000000;
JSON
{
  "hex": "#213c0a",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 10
  },
  "hsl": {
    "h": 92.4,
    "s": 71.429,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32272,
    "c": 0.08154,
    "h": 133.9
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#213C0A
secondary
#542879
accent
#3AEE9B
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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