#406516#406516

#406516 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.2% C 0.114 H 131.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#406516
RGBrgb(64, 101, 22)
HSLhsl(88, 64%, 24%)
HSVhsv(88, 78%, 40%)
CMYKcmyk(36.6%, 0%, 78.2%, 60.4%)
CIE-LABlab(38.65, -26.84, 38.04)
CIE-LCHlch(38.65, 46.56, 125.20°)
OKLaboklab(46.21% -0.0759 0.0851)
OKLCHoklch(46.21% 0.114 131.7)
XYZxyz(6.9128, 10.4550, 2.4127)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406516 #3B1665
analogous
#656316 #406516 #196516
triadic
#406516 #164065 #651640
tetradic
#406516 #166563 #3B1665 #651619
square
#406516 #166563 #3B1665 #651619
split-complementary
#406516 #161965 #631665
monochromatic
#101905 #20330B #406516 #609721 #80CA2C

Accessibility & contrast

On white

6.79
#406516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#406516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406516
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406516#FFFFFF#000000##FFFFFF
##4065161.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D07
Deuteranopia (green-blind)
#655A1E
Tritanopia (blue-blind)
#416156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406516;
/* rgb */ color: rgb(64, 101, 22);
/* oklch */ color: oklch(46.2% 0.114 131.7);
Tailwind
colors: {
  custom: {
    50: '#789159',
    500: '#406516',
    950: '#000000',
  },
}
SCSS
$custom: #406516;
$custom-light: #789159;
$custom-dark: #000000;
JSON
{
  "hex": "#406516",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 88.101,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46206,
    "c": 0.11402,
    "h": 131.7
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#406516
secondary
#683B9C
accent
#41E78F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406516

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

Preview Lab → · Contrast checker → · Palette generator →

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