#406616#406616

#406616 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.5% C 0.115 H 132.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#406616
RGBrgb(64, 102, 22)
HSLhsl(89, 65%, 24%)
HSVhsv(89, 78%, 40%)
CMYKcmyk(37.3%, 0%, 78.4%, 60%)
CIE-LABlab(38.99, -27.32, 38.38)
CIE-LCHlch(38.99, 47.11, 125.45°)
OKLaboklab(46.48% -0.0772 0.0858)
OKLCHoklch(46.48% 0.115 132)
XYZxyz(7.0105, 10.6504, 2.4453)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406616 #3C1666
analogous
#666416 #406616 #186616
triadic
#406616 #164066 #661640
tetradic
#406616 #166664 #3C1666 #661618
square
#406616 #166664 #3C1666 #661618
split-complementary
#406616 #161866 #641666
monochromatic
#101905 #20340B #406616 #609821 #7FCB2C

Accessibility & contrast

On white

6.71
#406616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#406616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406616
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406616#FFFFFF#000000##FFFFFF
##4066161.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#655B1E
Tritanopia (blue-blind)
#416257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406616;
/* rgb */ color: rgb(64, 102, 22);
/* oklch */ color: oklch(46.5% 0.115 132.0);
Tailwind
colors: {
  custom: {
    50: '#79925a',
    500: '#406616',
    950: '#000000',
  },
}
SCSS
$custom: #406616;
$custom-light: #79925a;
$custom-dark: #000000;
JSON
{
  "hex": "#406616",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 22
  },
  "hsl": {
    "h": 88.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.1154,
    "h": 132
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#406616
secondary
#693B9D
accent
#40E890
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406616

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

Preview Lab → · Contrast checker → · Palette generator →

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