#406416#406416

#406416 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.113 H 131.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#406416
RGBrgb(64, 100, 22)
HSLhsl(88, 64%, 24%)
HSVhsv(88, 78%, 39%)
CMYKcmyk(36%, 0%, 78%, 60.8%)
CIE-LABlab(38.31, -26.36, 37.71)
CIE-LCHlch(38.31, 46.01, 124.95°)
OKLaboklab(45.93% -0.0746 0.0844)
OKLCHoklch(45.93% 0.113 131.5)
XYZxyz(6.8163, 10.2620, 2.3805)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406416 #3A1664
analogous
#646116 #406416 #196416
triadic
#406416 #164064 #641640
tetradic
#406416 #166461 #3A1664 #641619
square
#406416 #166461 #3A1664 #641619
split-complementary
#406416 #161964 #611664
monochromatic
#101906 #20320B #406416 #609621 #80C82C

Accessibility & contrast

On white

6.88
#406416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406416
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406416#FFFFFF#000000##FFFFFF
##4064161.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C07
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406416;
/* rgb */ color: rgb(64, 100, 22);
/* oklch */ color: oklch(45.9% 0.113 131.5);
Tailwind
colors: {
  custom: {
    50: '#789059',
    500: '#406416',
    950: '#000000',
  },
}
SCSS
$custom: #406416;
$custom-light: #789059;
$custom-dark: #000000;
JSON
{
  "hex": "#406416",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 22
  },
  "hsl": {
    "h": 87.692,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.11262,
    "h": 131.5
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#406416
secondary
#673B9B
accent
#41E78E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406416

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

Preview Lab → · Contrast checker → · Palette generator →

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