#406513#406513

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

Color values

HEX#406513
RGBrgb(64, 101, 19)
HSLhsl(87, 68%, 24%)
HSVhsv(87, 81%, 40%)
CMYKcmyk(36.6%, 0%, 81.2%, 60.4%)
CIE-LABlab(38.63, -27.03, 39.15)
CIE-LCHlch(38.63, 47.57, 124.62°)
OKLaboklab(46.18% -0.0766 0.0869)
OKLCHoklch(46.18% 0.116 131.4)
XYZxyz(6.8855, 10.4441, 2.2691)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406513 #381365
analogous
#656113 #406513 #176513
triadic
#406513 #134065 #651340
tetradic
#406513 #136561 #381365 #651317
square
#406513 #136561 #381365 #651317
split-complementary
#406513 #131765 #611365
monochromatic
#101A05 #1F3109 #406513 #61991D #81CC26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406513#FFFFFF#000000##FFFFFF
##4065131.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)
#6A5D01
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#416056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406513;
/* rgb */ color: rgb(64, 101, 19);
/* oklch */ color: oklch(46.2% 0.116 131.4);
Tailwind
colors: {
  custom: {
    50: '#799158',
    500: '#406513',
    950: '#000000',
  },
}
SCSS
$custom: #406513;
$custom-light: #799158;
$custom-dark: #000000;
JSON
{
  "hex": "#406513",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 19
  },
  "hsl": {
    "h": 87.073,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46185,
    "c": 0.11587,
    "h": 131.4
  },
  "luminance": 0.10444
}

Semantic roles & 50–950 ramp

primary
#406513
secondary
#65379D
accent
#3DEB8B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406513

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

Preview Lab → · Contrast checker → · Palette generator →

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