#406519#406519

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

Color values

HEX#406519
RGBrgb(64, 101, 25)
HSLhsl(89, 60%, 25%)
HSVhsv(89, 75%, 40%)
CMYKcmyk(36.6%, 0%, 75.2%, 60.4%)
CIE-LABlab(38.67, -26.62, 36.85)
CIE-LCHlch(38.67, 45.46, 125.84°)
OKLaboklab(46.23% -0.075 0.0831)
OKLCHoklch(46.23% 0.112 132.1)
XYZxyz(6.9434, 10.4673, 2.5741)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406519 #3E1965
analogous
#656419 #406519 #1A6519
triadic
#406519 #194065 #651940
tetradic
#406519 #196564 #3E1965 #65191A
square
#406519 #196564 #3E1965 #65191A
split-complementary
#406519 #191A65 #641965
monochromatic
#101906 #21340D #406519 #5F9625 #7EC731

Accessibility & contrast

On white

6.79
#406519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406519
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406519#FFFFFF#000000##FFFFFF
##4065191.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D0C
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#416156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #406519;
/* rgb */ color: rgb(64, 101, 25);
/* oklch */ color: oklch(46.2% 0.112 132.1);
Tailwind
colors: {
  custom: {
    50: '#78915b',
    500: '#406519',
    950: '#000000',
  },
}
SCSS
$custom: #406519;
$custom-light: #78915b;
$custom-dark: #000000;
JSON
{
  "hex": "#406519",
  "rgb": {
    "r": 64,
    "g": 101,
    "b": 25
  },
  "hsl": {
    "h": 89.211,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46231,
    "c": 0.11197,
    "h": 132.1
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#406519
secondary
#6C3F9B
accent
#44E392
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406519

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

Preview Lab → · Contrast checker → · Palette generator →

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