#406419#406419

#406419 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.0% C 0.111 H 131.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#406419
RGBrgb(64, 100, 25)
HSLhsl(89, 60%, 25%)
HSVhsv(89, 75%, 39%)
CMYKcmyk(36%, 0%, 75%, 60.8%)
CIE-LABlab(38.33, -26.14, 36.51)
CIE-LCHlch(38.33, 44.90, 125.60°)
OKLaboklab(45.96% -0.0737 0.0824)
OKLCHoklch(45.96% 0.111 131.8)
XYZxyz(6.8469, 10.2743, 2.5419)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406419 #3D1964
analogous
#646319 #406419 #1B6419
triadic
#406419 #194064 #641940
tetradic
#406419 #196463 #3D1964 #64191B
square
#406419 #196463 #3D1964 #64191B
split-complementary
#406419 #191B64 #631964
monochromatic
#101806 #21330D #406419 #5F9525 #7FC631

Accessibility & contrast

On white

6.87
#406419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#406419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406419
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406419#FFFFFF#000000##FFFFFF
##4064191.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C0D
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#416055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406419;
/* rgb */ color: rgb(64, 100, 25);
/* oklch */ color: oklch(46.0% 0.111 131.8);
Tailwind
colors: {
  custom: {
    50: '#78905b',
    500: '#406419',
    950: '#000000',
  },
}
SCSS
$custom: #406419;
$custom-light: #78905b;
$custom-dark: #000000;
JSON
{
  "hex": "#406419",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 25
  },
  "hsl": {
    "h": 88.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.11055,
    "h": 131.8
  },
  "luminance": 0.10275
}

Semantic roles & 50–950 ramp

primary
#406419
secondary
#6B3F9A
accent
#45E391
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406419

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

Preview Lab → · Contrast checker → · Palette generator →

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