#406614#406614

#406614 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.5% C 0.117 H 131.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#406614
RGBrgb(64, 102, 20)
HSLhsl(88, 67%, 24%)
HSVhsv(88, 80%, 40%)
CMYKcmyk(37.3%, 0%, 80.4%, 60%)
CIE-LABlab(38.97, -27.45, 39.12)
CIE-LCHlch(38.97, 47.78, 125.06°)
OKLaboklab(46.47% -0.0777 0.087)
OKLCHoklch(46.47% 0.117 131.8)
XYZxyz(6.9919, 10.6430, 2.3476)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406614 #3A1466
analogous
#666314 #406614 #176614
triadic
#406614 #144066 #661440
tetradic
#406614 #146663 #3A1466 #661417
square
#406614 #146663 #3A1466 #661417
split-complementary
#406614 #141766 #631466
monochromatic
#101A05 #20330A #406614 #60991E #80CC28

Accessibility & contrast

On white

6.71
#406614 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#406614 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406614
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406614#FFFFFF#000000##FFFFFF
##4066141.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E03
Deuteranopia (green-blind)
#665B1C
Tritanopia (blue-blind)
#416157
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406614;
/* rgb */ color: rgb(64, 102, 20);
/* oklch */ color: oklch(46.5% 0.117 131.8);
Tailwind
colors: {
  custom: {
    50: '#799259',
    500: '#406614',
    950: '#000000',
  },
}
SCSS
$custom: #406614;
$custom-light: #799259;
$custom-dark: #000000;
JSON
{
  "hex": "#406614",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 20
  },
  "hsl": {
    "h": 87.805,
    "s": 67.213,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46468,
    "c": 0.11664,
    "h": 131.8
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#406614
secondary
#67399D
accent
#3EEA8E
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D04
muted
#7B7D79

Preview Lab

Preview with #406614

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

Preview Lab → · Contrast checker → · Palette generator →

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