#406814#406814

#406814 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.0% C 0.119 H 132.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#406814
RGBrgb(64, 104, 20)
HSLhsl(89, 68%, 24%)
HSVhsv(89, 81%, 41%)
CMYKcmyk(38.5%, 0%, 80.8%, 59.2%)
CIE-LABlab(39.65, -28.40, 39.76)
CIE-LCHlch(39.65, 48.86, 125.53°)
OKLaboklab(47.02% -0.0802 0.0884)
OKLCHoklch(47.02% 0.119 132.2)
XYZxyz(7.1908, 11.0408, 2.4139)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406814 #3C1468
analogous
#686614 #406814 #166814
triadic
#406814 #144068 #681440
tetradic
#406814 #146866 #3C1468 #681416
square
#406814 #146866 #3C1468 #681416
split-complementary
#406814 #141668 #661468
monochromatic
#101A05 #20350A #406814 #609B1E #7FCF28

Accessibility & contrast

On white

6.55
#406814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#406814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406814
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406814#FFFFFF#000000##FFFFFF
##4068141.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F02
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#416358
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #406814;
/* rgb */ color: rgb(64, 104, 20);
/* oklch */ color: oklch(47.0% 0.119 132.2);
Tailwind
colors: {
  custom: {
    50: '#799359',
    500: '#406814',
    950: '#000000',
  },
}
SCSS
$custom: #406814;
$custom-light: #799359;
$custom-dark: #000000;
JSON
{
  "hex": "#406814",
  "rgb": {
    "r": 64,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 88.571,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.11937,
    "h": 132.2
  },
  "luminance": 0.11041
}

Semantic roles & 50–950 ramp

primary
#406814
secondary
#69399F
accent
#3DEB90
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406814

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

Preview Lab → · Contrast checker → · Palette generator →

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