#213C05#213C05

#213C05 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.2% C 0.085 H 132.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#213C05
RGBrgb(33, 60, 5)
HSLhsl(89, 85%, 13%)
HSVhsv(89, 92%, 24%)
CMYKcmyk(45%, 0%, 91.7%, 76.5%)
CIE-LABlab(22.18, -20.57, 28.06)
CIE-LCHlch(22.18, 34.79, 126.25°)
OKLaboklab(32.23% -0.0581 0.0625)
OKLCHoklch(32.23% 0.085 132.9)
XYZxyz(2.2704, 3.5659, 0.7122)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C05 #20053C
analogous
#3C3B05 #213C05 #053C05
triadic
#213C05 #05213C #3C0521
tetradic
#213C05 #053C3B #20053C #3C0505
square
#213C05 #053C3B #20053C #3C0505
split-complementary
#213C05 #05053C #3B053C
monochromatic
#101C02 #101C02 #213C05 #40740A #5FAD0E

Accessibility & contrast

On white

12.26
#213C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C05
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C05#FFFFFF#000000##FFFFFF
##213C051.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #213c05;
/* rgb */ color: rgb(33, 60, 5);
/* oklch */ color: oklch(32.2% 0.085 132.9);
Tailwind
colors: {
  custom: {
    50: '#5f724a',
    500: '#213c05',
    950: '#000000',
  },
}
SCSS
$custom: #213c05;
$custom-light: #5f724a;
$custom-dark: #000000;
JSON
{
  "hex": "#213c05",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 89.455,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32227,
    "c": 0.08533,
    "h": 132.9
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#213C05
secondary
#4E207D
accent
#2DFB92
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213C05

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

Preview Lab → · Contrast checker → · Palette generator →

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