#213A04#213A04

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

Color values

HEX#213A04
RGBrgb(33, 58, 4)
HSLhsl(88, 87%, 12%)
HSVhsv(88, 93%, 23%)
CMYKcmyk(43.1%, 0%, 93.1%, 77.3%)
CIE-LABlab(21.42, -19.64, 27.65)
CIE-LCHlch(21.42, 33.92, 125.38°)
OKLaboklab(31.61% -0.0557 0.0618)
OKLCHoklch(31.61% 0.083 132)
XYZxyz(2.1621, 3.3581, 0.6491)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A04 #1D043A
analogous
#3A3804 #213A04 #063A04
triadic
#213A04 #04213A #3A0421
tetradic
#213A04 #043A38 #1D043A #3A0406
square
#213A04 #043A38 #1D043A #3A0406
split-complementary
#213A04 #04063A #38043A
monochromatic
#101D02 #101D02 #213A04 #427308 #62AD0C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213A04#FFFFFF#000000##FFFFFF
##213A041.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)
#3A3309
Tritanopia (blue-blind)
#223730
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a04;
/* rgb */ color: rgb(33, 58, 4);
/* oklch */ color: oklch(31.6% 0.083 132.0);
Tailwind
colors: {
  custom: {
    50: '#5f704a',
    500: '#213a04',
    950: '#000000',
  },
}
SCSS
$custom: #213a04;
$custom-light: #5f704a;
$custom-dark: #000000;
JSON
{
  "hex": "#213a04",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 87.778,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31606,
    "c": 0.08324,
    "h": 132
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#213A04
secondary
#491E7C
accent
#2BFD8C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A04

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

Preview Lab → · Contrast checker → · Palette generator →

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