#213404#213404

#213404 is a dark, moderate yellow-green. Relative luminance 0.028; OKLCH L 29.8% C 0.074 H 129.3°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#213404
RGBrgb(33, 52, 4)
HSLhsl(84, 86%, 11%)
HSVhsv(84, 92%, 20%)
CMYKcmyk(36.5%, 0%, 92.3%, 79.6%)
CIE-LABlab(19.17, -16.46, 25.13)
CIE-LCHlch(19.17, 30.04, 123.22°)
OKLaboklab(29.77% -0.0472 0.0576)
OKLCHoklch(29.77% 0.074 129.3)
XYZxyz(1.8771, 2.7880, 0.5541)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213404 #170434
analogous
#342F04 #213404 #093404
triadic
#213404 #042134 #340421
tetradic
#213404 #04342F #170434 #340409
square
#213404 #04342F #170434 #340409
split-complementary
#213404 #040934 #2F0434
monochromatic
#121C02 #121C02 #213404 #456D08 #69A60D

Accessibility & contrast

On white

13.48
#213404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#213404 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213404
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213404#FFFFFF#000000##FFFFFF
##2134041.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#372F00
Deuteranopia (green-blind)
#342E08
Tritanopia (blue-blind)
#22312B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #213404;
/* rgb */ color: rgb(33, 52, 4);
/* oklch */ color: oklch(29.8% 0.074 129.3);
Tailwind
colors: {
  custom: {
    50: '#5e6b49',
    500: '#213404',
    950: '#000000',
  },
}
SCSS
$custom: #213404;
$custom-light: #5e6b49;
$custom-dark: #000000;
JSON
{
  "hex": "#213404",
  "rgb": {
    "r": 33,
    "g": 52,
    "b": 4
  },
  "hsl": {
    "h": 83.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29769,
    "c": 0.07443,
    "h": 129.3
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#213404
secondary
#411E76
accent
#2CFC7E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213404

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

Preview Lab → · Contrast checker → · Palette generator →

#213404 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva