#406611#406611

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

Color values

HEX#406611
RGBrgb(64, 102, 17)
HSLhsl(87, 71%, 23%)
HSVhsv(87, 83%, 40%)
CMYKcmyk(37.3%, 0%, 83.3%, 60%)
CIE-LABlab(38.96, -27.62, 40.15)
CIE-LCHlch(38.96, 48.73, 124.53°)
OKLaboklab(46.45% -0.0784 0.0887)
OKLCHoklch(46.45% 0.118 131.5)
XYZxyz(6.9668, 10.6329, 2.2155)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406611 #371166
analogous
#666111 #406611 #156611
triadic
#406611 #114066 #661140
tetradic
#406611 #116661 #371166 #661115
square
#406611 #116661 #371166 #661115
split-complementary
#406611 #111566 #611166
monochromatic
#101A04 #1F3208 #406611 #619A1A #82CF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406611#FFFFFF#000000##FFFFFF
##4066111.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: #406611;
/* rgb */ color: rgb(64, 102, 17);
/* oklch */ color: oklch(46.4% 0.118 131.5);
Tailwind
colors: {
  custom: {
    50: '#799257',
    500: '#406611',
    950: '#000000',
  },
}
SCSS
$custom: #406611;
$custom-light: #799257;
$custom-dark: #000000;
JSON
{
  "hex": "#406611",
  "rgb": {
    "r": 64,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 86.824,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.11835,
    "h": 131.5
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#406611
secondary
#64359E
accent
#3AEE8A
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#090D03
muted
#7B7D78

Preview Lab

Preview with #406611

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

Preview Lab → · Contrast checker → · Palette generator →

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