#213704#213704

#213704 is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.079 H 130.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#213704
RGBrgb(33, 55, 4)
HSLhsl(86, 86%, 12%)
HSVhsv(86, 93%, 22%)
CMYKcmyk(40%, 0%, 92.7%, 78.4%)
CIE-LABlab(20.30, -18.08, 26.42)
CIE-LCHlch(20.30, 32.01, 124.38°)
OKLaboklab(30.69% -0.0515 0.0597)
OKLCHoklch(30.69% 0.079 130.8)
XYZxyz(2.0153, 3.0644, 0.6001)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213704 #1A0437
analogous
#373404 #213704 #083704
triadic
#213704 #042137 #370421
tetradic
#213704 #043734 #1A0437 #370408
square
#213704 #043734 #1A0437 #370408
split-complementary
#213704 #040837 #340437
monochromatic
#111D02 #111D02 #213704 #437008 #65A90C

Accessibility & contrast

On white

13.02
#213704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#213704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213704
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213704#FFFFFF#000000##FFFFFF
##2137041.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#373009
Tritanopia (blue-blind)
#22342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #213704;
/* rgb */ color: rgb(33, 55, 4);
/* oklch */ color: oklch(30.7% 0.079 130.8);
Tailwind
colors: {
  custom: {
    50: '#5f6e49',
    500: '#213704',
    950: '#000000',
  },
}
SCSS
$custom: #213704;
$custom-light: #5f6e49;
$custom-dark: #000000;
JSON
{
  "hex": "#213704",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 85.882,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.30687,
    "c": 0.07887,
    "h": 130.8
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#213704
secondary
#451E79
accent
#2BFD86
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213704

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

Preview Lab → · Contrast checker → · Palette generator →

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