#406E1E#406E1E

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

Color values

HEX#406E1E
RGBrgb(64, 110, 30)
HSLhsl(95, 57%, 27%)
HSVhsv(95, 73%, 43%)
CMYKcmyk(41.8%, 0%, 72.7%, 56.9%)
CIE-LABlab(41.74, -30.47, 37.89)
CIE-LCHlch(41.74, 48.62, 128.80°)
OKLaboklab(48.76% -0.0851 0.0861)
OKLCHoklch(48.76% 0.121 134.7)
XYZxyz(7.9245, 12.3352, 3.1914)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E1E #4C1E6E
analogous
#686E1E #406E1E #1E6E24
triadic
#406E1E #1E406E #6E1E40
tetradic
#406E1E #1E686E #4C1E6E #6E241E
square
#406E1E #1E686E #4C1E6E #6E241E
split-complementary
#406E1E #241E6E #6E1E68
monochromatic
#0E1807 #243E11 #406E1E #5C9E2B #79CA3C

Accessibility & contrast

On white

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

On black

3.47
#406E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##406E1E#FFFFFF#000000##FFFFFF
##406E1E1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726512
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#3F6A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e1e;
/* rgb */ color: rgb(64, 110, 30);
/* oklch */ color: oklch(48.8% 0.121 134.7);
Tailwind
colors: {
  custom: {
    50: '#79985f',
    500: '#406e1e',
    950: '#000000',
  },
}
SCSS
$custom: #406e1e;
$custom-light: #79985f;
$custom-dark: #000000;
JSON
{
  "hex": "#406e1e",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 94.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.121,
    "h": 134.7
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#406E1E
secondary
#7B46A2
accent
#47E09F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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