#213A05#213A05

#213A05 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.6% C 0.082 H 132.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#213A05
RGBrgb(33, 58, 5)
HSLhsl(88, 84%, 12%)
HSVhsv(88, 91%, 23%)
CMYKcmyk(43.1%, 0%, 91.4%, 77.3%)
CIE-LABlab(21.43, -19.56, 27.26)
CIE-LCHlch(21.43, 33.55, 125.66°)
OKLaboklab(31.62% -0.0554 0.0611)
OKLCHoklch(31.62% 0.082 132.2)
XYZxyz(2.1676, 3.3603, 0.6779)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A05 #1E053A
analogous
#3A3905 #213A05 #063A05
triadic
#213A05 #05213A #3A0521
tetradic
#213A05 #053A39 #1E053A #3A0506
square
#213A05 #053A39 #1E053A #3A0506
split-complementary
#213A05 #05063A #39053A
monochromatic
#101C02 #101C02 #213A05 #41720A #61AB0F

Accessibility & contrast

On white

12.56
#213A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A05
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A05#FFFFFF#000000##FFFFFF
##213A051.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3A330A
Tritanopia (blue-blind)
#213730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a05;
/* rgb */ color: rgb(33, 58, 5);
/* oklch */ color: oklch(31.6% 0.082 132.2);
Tailwind
colors: {
  custom: {
    50: '#5f704a',
    500: '#213a05',
    950: '#000000',
  },
}
SCSS
$custom: #213a05;
$custom-light: #5f704a;
$custom-dark: #000000;
JSON
{
  "hex": "#213a05",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 88.302,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31615,
    "c": 0.08243,
    "h": 132.2
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#213A05
secondary
#4B207B
accent
#2DFA8E
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A05

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

Preview Lab → · Contrast checker → · Palette generator →

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