#406221#406221

#406221 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.101 H 132.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#406221
RGBrgb(64, 98, 33)
HSLhsl(91, 50%, 26%)
HSVhsv(91, 66%, 38%)
CMYKcmyk(34.7%, 0%, 66.3%, 61.6%)
CIE-LABlab(37.73, -24.45, 32.22)
CIE-LCHlch(37.73, 40.45, 127.19°)
OKLaboklab(45.49% -0.0684 0.0745)
OKLCHoklch(45.49% 0.101 132.5)
XYZxyz(6.7565, 9.9349, 3.0002)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406221 #432162
analogous
#606221 #406221 #216223
triadic
#406221 #214062 #622140
tetradic
#406221 #216062 #432162 #622321
square
#406221 #216062 #432162 #622321
split-complementary
#406221 #232162 #622160
monochromatic
#0F1708 #223412 #406221 #5E9030 #7CBE40

Accessibility & contrast

On white

7.03
#406221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#406221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406221
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406221#FFFFFF#000000##FFFFFF
##4062211.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A19
Deuteranopia (green-blind)
#615826
Tritanopia (blue-blind)
#415E54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #406221;
/* rgb */ color: rgb(64, 98, 33);
/* oklch */ color: oklch(45.5% 0.101 132.5);
Tailwind
colors: {
  custom: {
    50: '#778f5f',
    500: '#406221',
    950: '#000000',
  },
}
SCSS
$custom: #406221;
$custom-light: #778f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#406221",
  "rgb": {
    "r": 64,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 91.385,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.10115,
    "h": 132.5
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#406221
secondary
#714996
accent
#4FD997
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406221

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

Preview Lab → · Contrast checker → · Palette generator →

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