#406011#406011

#406011 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.8% C 0.110 H 129.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#406011
RGBrgb(64, 96, 17)
HSLhsl(84, 70%, 22%)
HSVhsv(84, 82%, 38%)
CMYKcmyk(33.3%, 0%, 82.3%, 62.4%)
CIE-LABlab(36.92, -24.71, 38.25)
CIE-LCHlch(36.92, 45.54, 122.87°)
OKLaboklab(44.79% -0.0705 0.0847)
OKLCHoklch(44.79% 0.11 129.8)
XYZxyz(6.3984, 9.4960, 2.0260)
Luminance0.0950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406011 #311160
analogous
#605911 #406011 #186011
triadic
#406011 #114060 #601140
tetradic
#406011 #116059 #311160 #601118
square
#406011 #116059 #311160 #601118
split-complementary
#406011 #111860 #591160
monochromatic
#111A05 #1D2C08 #406011 #63941A #85C823

Accessibility & contrast

On white

7.24
#406011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#406011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #406011
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406011#FFFFFF#000000##FFFFFF
##4060111.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#425B51
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #406011;
/* rgb */ color: rgb(64, 96, 17);
/* oklch */ color: oklch(44.8% 0.110 129.8);
Tailwind
colors: {
  custom: {
    50: '#788d56',
    500: '#406011',
    950: '#000000',
  },
}
SCSS
$custom: #406011;
$custom-light: #788d56;
$custom-dark: #000000;
JSON
{
  "hex": "#406011",
  "rgb": {
    "r": 64,
    "g": 96,
    "b": 17
  },
  "hsl": {
    "h": 84.304,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.1102,
    "h": 129.8
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#406011
secondary
#5D3499
accent
#3BED83
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406011

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

Preview Lab → · Contrast checker → · Palette generator →

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