#406511#406511

#406511 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.2% C 0.117 H 131.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#406511
RGBrgb(64, 101, 17)
HSLhsl(86, 71%, 23%)
HSVhsv(86, 83%, 40%)
CMYKcmyk(36.6%, 0%, 83.2%, 60.4%)
CIE-LABlab(38.62, -27.15, 39.83)
CIE-LCHlch(38.62, 48.21, 124.27°)
OKLaboklab(46.17% -0.0771 0.088)
OKLCHoklch(46.17% 0.117 131.2)
XYZxyz(6.8692, 10.4376, 2.1829)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406511 #361165
analogous
#656011 #406511 #166511
triadic
#406511 #114065 #651140
tetradic
#406511 #116560 #361165 #651116
square
#406511 #116560 #361165 #651116
split-complementary
#406511 #111665 #601165
monochromatic
#111A04 #1F3108 #406511 #61991A #82CE23

Accessibility & contrast

On white

6.80
#406511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406511
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406511#FFFFFF#000000##FFFFFF
##4065111.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406511;
/* rgb */ color: rgb(64, 101, 17);
/* oklch */ color: oklch(46.2% 0.117 131.2);
Tailwind
colors: {
  custom: {
    50: '#799157',
    500: '#406511',
    950: '#000000',
  },
}
SCSS
$custom: #406511;
$custom-light: #799157;
$custom-dark: #000000;
JSON
{
  "hex": "#406511",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 86.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.11701,
    "h": 131.2
  },
  "luminance": 0.10438
}

Semantic roles & 50–950 ramp

primary
#406511
secondary
#63359D
accent
#3AEE89
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #406511

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

Preview Lab → · Contrast checker → · Palette generator →

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