#405221#405221

#405221 is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 41.1% C 0.076 H 126.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#405221
RGBrgb(64, 82, 33)
HSLhsl(82, 43%, 23%)
HSVhsv(82, 60%, 32%)
CMYKcmyk(22%, 0%, 59.8%, 67.8%)
CIE-LABlab(32.33, -16.05, 26.11)
CIE-LCHlch(32.33, 30.65, 121.57°)
OKLaboklab(41.12% -0.0452 0.0614)
OKLCHoklch(41.12% 0.076 126.3)
XYZxyz(5.4062, 7.2343, 2.5501)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405221 #332152
analogous
#524C21 #405221 #275221
triadic
#405221 #214052 #522140
tetradic
#405221 #21524C #332152 #522127
square
#405221 #21524C #332152 #522127
split-complementary
#405221 #212752 #4C2152
monochromatic
#111609 #1E260F #405221 #627E33 #84A944

Accessibility & contrast

On white

8.58
#405221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#405221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405221
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405221#FFFFFF#000000##FFFFFF
##4052211.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1C
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#424E47
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #405221;
/* rgb */ color: rgb(64, 82, 33);
/* oklch */ color: oklch(41.1% 0.076 126.3);
Tailwind
colors: {
  custom: {
    50: '#76825e',
    500: '#405221',
    950: '#000000',
  },
}
SCSS
$custom: #405221;
$custom-light: #76825e;
$custom-dark: #000000;
JSON
{
  "hex": "#405221",
  "rgb": {
    "r": 64,
    "g": 82,
    "b": 33
  },
  "hsl": {
    "h": 82.041,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41115,
    "c": 0.07627,
    "h": 126.3
  },
  "luminance": 0.07234
}

Semantic roles & 50–950 ramp

primary
#405221
secondary
#5F4986
accent
#55D283
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #405221

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

Preview Lab → · Contrast checker → · Palette generator →

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