#213304#213304

#213304 is a dark, moderate yellow-green. Relative luminance 0.027; OKLCH L 29.5% C 0.073 H 128.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#213304
RGBrgb(33, 51, 4)
HSLhsl(83, 85%, 11%)
HSVhsv(83, 92%, 20%)
CMYKcmyk(35.3%, 0%, 92.2%, 80%)
CIE-LABlab(18.80, -15.91, 24.70)
CIE-LCHlch(18.80, 29.38, 122.80°)
OKLaboklab(29.46% -0.0457 0.0569)
OKLCHoklch(29.46% 0.073 128.8)
XYZxyz(1.8329, 2.6997, 0.5394)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213304 #160433
analogous
#332D04 #213304 #093304
triadic
#213304 #042133 #330421
tetradic
#213304 #04332D #160433 #330409
square
#213304 #04332D #160433 #330409
split-complementary
#213304 #040933 #2D0433
monochromatic
#121C02 #121C02 #213304 #466C08 #6AA40D

Accessibility & contrast

On white

13.64
#213304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#213304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213304
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213304#FFFFFF#000000##FFFFFF
##2133041.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362F00
Deuteranopia (green-blind)
#342D08
Tritanopia (blue-blind)
#22302A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #213304;
/* rgb */ color: rgb(33, 51, 4);
/* oklch */ color: oklch(29.5% 0.073 128.8);
Tailwind
colors: {
  custom: {
    50: '#5e6a49',
    500: '#213304',
    950: '#000000',
  },
}
SCSS
$custom: #213304;
$custom-light: #5e6a49;
$custom-dark: #000000;
JSON
{
  "hex": "#213304",
  "rgb": {
    "r": 33,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 82.979,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.29463,
    "c": 0.07294,
    "h": 128.8
  },
  "luminance": 0.027
}

Semantic roles & 50–950 ramp

primary
#213304
secondary
#3F1D75
accent
#2CFC7C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #213304

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

Preview Lab → · Contrast checker → · Palette generator →

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