#406E1A#406E1A

#406E1A is a mid, vivid yellow-green. Relative luminance 0.123; OKLCH L 48.7% C 0.124 H 134.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#406E1A
RGBrgb(64, 110, 26)
HSLhsl(93, 62%, 27%)
HSVhsv(93, 76%, 43%)
CMYKcmyk(41.8%, 0%, 76.4%, 56.9%)
CIE-LABlab(41.71, -30.78, 39.51)
CIE-LCHlch(41.71, 50.08, 127.92°)
OKLaboklab(48.72% -0.0862 0.0888)
OKLCHoklch(48.72% 0.124 134.1)
XYZxyz(7.8766, 12.3160, 2.9393)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E1A #481A6E
analogous
#6A6E1A #406E1A #1A6E1E
triadic
#406E1A #1A406E #6E1A40
tetradic
#406E1A #1A6A6E #481A6E #6E1E1A
square
#406E1A #1A6A6E #481A6E #6E1E1A
split-complementary
#406E1A #1E1A6E #6E1A6A
monochromatic
#0E1906 #233D0E #406E1A #5DA026 #7ACF34

Accessibility & contrast

On white

6.06
#406E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#406E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406E1A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406E1A#FFFFFF#000000##FFFFFF
##406E1A1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650A
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#40695E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e1a;
/* rgb */ color: rgb(64, 110, 26);
/* oklch */ color: oklch(48.7% 0.124 134.1);
Tailwind
colors: {
  custom: {
    50: '#79985d',
    500: '#406e1a',
    950: '#000000',
  },
}
SCSS
$custom: #406e1a;
$custom-light: #79985d;
$custom-dark: #000000;
JSON
{
  "hex": "#406e1a",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 92.857,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48721,
    "c": 0.12379,
    "h": 134.1
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#406E1A
secondary
#7741A3
accent
#43E59C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #406E1A

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

Preview Lab → · Contrast checker → · Palette generator →

#406E1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva