#406911#406911

#406911 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.3% C 0.122 H 132.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#406911
RGBrgb(64, 105, 17)
HSLhsl(88, 72%, 24%)
HSVhsv(88, 84%, 41%)
CMYKcmyk(39%, 0%, 83.8%, 58.8%)
CIE-LABlab(39.97, -29.04, 41.09)
CIE-LCHlch(39.97, 50.31, 125.25°)
OKLaboklab(47.28% -0.0822 0.0907)
OKLCHoklch(47.28% 0.122 132.2)
XYZxyz(7.2670, 11.2333, 2.3156)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406911 #3A1169
analogous
#696611 #406911 #146911
triadic
#406911 #114069 #691140
tetradic
#406911 #116966 #3A1169 #691114
square
#406911 #116966 #3A1169 #691114
split-complementary
#406911 #111469 #661169
monochromatic
#101A04 #203408 #406911 #609E1A #80D222

Accessibility & contrast

On white

6.47
#406911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#406911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406911
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406911#FFFFFF#000000##FFFFFF
##4069111.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#416459
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #406911;
/* rgb */ color: rgb(64, 105, 17);
/* oklch */ color: oklch(47.3% 0.122 132.2);
Tailwind
colors: {
  custom: {
    50: '#799458',
    500: '#406911',
    950: '#000000',
  },
}
SCSS
$custom: #406911;
$custom-light: #799458;
$custom-dark: #000000;
JSON
{
  "hex": "#406911",
  "rgb": {
    "r": 64,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 87.955,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.12237,
    "h": 132.2
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#406911
secondary
#6735A1
accent
#39EF8E
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406911

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

Preview Lab → · Contrast checker → · Palette generator →

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