#213504#213504

#213504 is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.1% C 0.076 H 129.8°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#213504
RGBrgb(33, 53, 4)
HSLhsl(84, 86%, 11%)
HSVhsv(84, 92%, 21%)
CMYKcmyk(37.7%, 0%, 92.5%, 79.2%)
CIE-LABlab(19.55, -17.00, 25.57)
CIE-LCHlch(19.55, 30.70, 123.63°)
OKLaboklab(30.08% -0.0486 0.0583)
OKLCHoklch(30.08% 0.076 129.8)
XYZxyz(1.9222, 2.8782, 0.5691)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213504 #180435
analogous
#353004 #213504 #083504
triadic
#213504 #042135 #350421
tetradic
#213504 #043530 #180435 #350408
square
#213504 #043530 #180435 #350408
split-complementary
#213504 #040835 #300435
monochromatic
#121C02 #121C02 #213504 #446E08 #68A70D

Accessibility & contrast

On white

13.33
#213504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#213504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213504
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213504#FFFFFF#000000##FFFFFF
##2135041.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383000
Deuteranopia (green-blind)
#352F08
Tritanopia (blue-blind)
#22322C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #213504;
/* rgb */ color: rgb(33, 53, 4);
/* oklch */ color: oklch(30.1% 0.076 129.8);
Tailwind
colors: {
  custom: {
    50: '#5e6c49',
    500: '#213504',
    950: '#000000',
  },
}
SCSS
$custom: #213504;
$custom-light: #5e6c49;
$custom-dark: #000000;
JSON
{
  "hex": "#213504",
  "rgb": {
    "r": 33,
    "g": 53,
    "b": 4
  },
  "hsl": {
    "h": 84.49,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.07591,
    "h": 129.8
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#213504
secondary
#421E77
accent
#2CFC81
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213504

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

Preview Lab → · Contrast checker → · Palette generator →

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