#406320#406320

#406320 is a mid, moderate yellow-green. Relative luminance 0.101; OKLCH L 45.7% C 0.104 H 132.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#406320
RGBrgb(64, 99, 32)
HSLhsl(91, 51%, 26%)
HSVhsv(91, 68%, 39%)
CMYKcmyk(35.4%, 0%, 67.7%, 61.2%)
CIE-LABlab(38.05, -25.04, 33.07)
CIE-LCHlch(38.05, 41.48, 127.14°)
OKLaboklab(45.75% -0.0701 0.0762)
OKLCHoklch(45.75% 0.104 132.6)
XYZxyz(6.8368, 10.1177, 2.9589)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406320 #432063
analogous
#616320 #406320 #206321
triadic
#406320 #204063 #632040
tetradic
#406320 #206163 #432063 #632120
square
#406320 #206163 #432063 #632120
split-complementary
#406320 #212063 #632061
monochromatic
#0F1707 #223511 #406320 #5E912F #7CBF3E

Accessibility & contrast

On white

6.95
#406320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#406320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406320
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406320#FFFFFF#000000##FFFFFF
##4063201.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#625925
Tritanopia (blue-blind)
#415F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406320;
/* rgb */ color: rgb(64, 99, 32);
/* oklch */ color: oklch(45.7% 0.104 132.6);
Tailwind
colors: {
  custom: {
    50: '#788f5f',
    500: '#406320',
    950: '#000000',
  },
}
SCSS
$custom: #406320;
$custom-light: #788f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#406320",
  "rgb": {
    "r": 64,
    "g": 99,
    "b": 32
  },
  "hsl": {
    "h": 91.343,
    "s": 51.145,
    "l": 25.686
  },
  "oklch": {
    "l": 0.45748,
    "c": 0.10353,
    "h": 132.6
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#406320
secondary
#714897
accent
#4DDB97
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C05
muted
#7B7D79

Preview Lab

Preview with #406320

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

Preview Lab → · Contrast checker → · Palette generator →

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