#406515#406515

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

Color values

HEX#406515
RGBrgb(64, 101, 21)
HSLhsl(88, 66%, 24%)
HSVhsv(88, 79%, 40%)
CMYKcmyk(36.6%, 0%, 79.2%, 60.4%)
CIE-LABlab(38.64, -26.91, 38.42)
CIE-LCHlch(38.64, 46.91, 125.00°)
OKLaboklab(46.2% -0.0761 0.0857)
OKLCHoklch(46.2% 0.115 131.6)
XYZxyz(6.9033, 10.4512, 2.3629)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406515 #3A1565
analogous
#656215 #406515 #186515
triadic
#406515 #154065 #651540
tetradic
#406515 #156562 #3A1565 #651518
square
#406515 #156562 #3A1565 #651518
split-complementary
#406515 #151865 #621565
monochromatic
#101905 #20320A #406515 #609820 #80CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406515#FFFFFF#000000##FFFFFF
##4065151.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)
#6A5D05
Deuteranopia (green-blind)
#655A1D
Tritanopia (blue-blind)
#416056
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406515;
/* rgb */ color: rgb(64, 101, 21);
/* oklch */ color: oklch(46.2% 0.115 131.6);
Tailwind
colors: {
  custom: {
    50: '#789159',
    500: '#406515',
    950: '#000000',
  },
}
SCSS
$custom: #406515;
$custom-light: #789159;
$custom-dark: #000000;
JSON
{
  "hex": "#406515",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 87.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.11465,
    "h": 131.6
  },
  "luminance": 0.10451
}

Semantic roles & 50–950 ramp

primary
#406515
secondary
#673A9C
accent
#3FE98E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406515

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

Preview Lab → · Contrast checker → · Palette generator →

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