#406414#406414

#406414 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 45.9% C 0.114 H 131.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#406414
RGBrgb(64, 100, 20)
HSLhsl(87, 67%, 24%)
HSVhsv(87, 80%, 39%)
CMYKcmyk(36%, 0%, 80%, 60.8%)
CIE-LABlab(38.30, -26.49, 38.46)
CIE-LCHlch(38.30, 46.70, 124.55°)
OKLaboklab(45.92% -0.0751 0.0857)
OKLCHoklch(45.92% 0.114 131.2)
XYZxyz(6.7977, 10.2546, 2.2829)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406414 #381464
analogous
#646014 #406414 #186414
triadic
#406414 #144064 #641440
tetradic
#406414 #146460 #381464 #641418
square
#406414 #146460 #381464 #641418
split-complementary
#406414 #141864 #601464
monochromatic
#101A05 #1F310A #406414 #61971E #81CA28

Accessibility & contrast

On white

6.88
#406414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#406414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406414
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406414#FFFFFF#000000##FFFFFF
##4064141.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C03
Deuteranopia (green-blind)
#64591C
Tritanopia (blue-blind)
#415F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #406414;
/* rgb */ color: rgb(64, 100, 20);
/* oklch */ color: oklch(45.9% 0.114 131.2);
Tailwind
colors: {
  custom: {
    50: '#789058',
    500: '#406414',
    950: '#000000',
  },
}
SCSS
$custom: #406414;
$custom-light: #789058;
$custom-dark: #000000;
JSON
{
  "hex": "#406414",
  "rgb": {
    "r": 64,
    "g": 100,
    "b": 20
  },
  "hsl": {
    "h": 87,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.45915,
    "c": 0.1139,
    "h": 131.2
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#406414
secondary
#65389B
accent
#3EEA8B
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #406414

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

Preview Lab → · Contrast checker → · Palette generator →

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