#406610#406610

#406610 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.119 H 131.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#406610
RGBrgb(64, 102, 16)
HSLhsl(87, 73%, 23%)
HSVhsv(87, 84%, 40%)
CMYKcmyk(37.3%, 0%, 84.3%, 60%)
CIE-LABlab(38.95, -27.68, 40.47)
CIE-LCHlch(38.95, 49.03, 124.37°)
OKLaboklab(46.44% -0.0786 0.0892)
OKLCHoklch(46.44% 0.119 131.4)
XYZxyz(6.9592, 10.6299, 2.1752)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406610 #361066
analogous
#666110 #406610 #156610
triadic
#406610 #104066 #661040
tetradic
#406610 #106661 #361066 #661015
square
#406610 #106661 #361066 #661015
split-complementary
#406610 #101566 #611066
monochromatic
#111A04 #1F3108 #406610 #619B18 #82D021

Accessibility & contrast

On white

6.72
#406610 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406610
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406610#FFFFFF#000000##FFFFFF
##4066101.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#416156
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #406610;
/* rgb */ color: rgb(64, 102, 16);
/* oklch */ color: oklch(46.4% 0.119 131.4);
Tailwind
colors: {
  custom: {
    50: '#799257',
    500: '#406610',
    950: '#000000',
  },
}
SCSS
$custom: #406610;
$custom-light: #799257;
$custom-dark: #000000;
JSON
{
  "hex": "#406610",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 16
  },
  "hsl": {
    "h": 86.512,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46442,
    "c": 0.11887,
    "h": 131.4
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#406610
secondary
#63339E
accent
#38F089
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #406610

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

Preview Lab → · Contrast checker → · Palette generator →

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