#406E1D#406E1D

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

Color values

HEX#406E1D
RGBrgb(64, 110, 29)
HSLhsl(94, 58%, 27%)
HSVhsv(94, 74%, 43%)
CMYKcmyk(41.8%, 0%, 73.6%, 56.9%)
CIE-LABlab(41.74, -30.55, 38.31)
CIE-LCHlch(41.74, 49.00, 128.57°)
OKLaboklab(48.75% -0.0854 0.0868)
OKLCHoklch(48.75% 0.122 134.5)
XYZxyz(7.9119, 12.3302, 3.1252)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406E1D #4B1D6E
analogous
#696E1D #406E1D #1D6E23
triadic
#406E1D #1D406E #6E1D40
tetradic
#406E1D #1D696E #4B1D6E #6E231D
square
#406E1D #1D696E #4B1D6E #6E231D
split-complementary
#406E1D #231D6E #6E1D69
monochromatic
#0E1806 #243E10 #406E1D #5C9E2A #79CB3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##406E1D#FFFFFF#000000##FFFFFF
##406E1D1.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)
#726510
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#3F6A5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406e1d;
/* rgb */ color: rgb(64, 110, 29);
/* oklch */ color: oklch(48.7% 0.122 134.5);
Tailwind
colors: {
  custom: {
    50: '#79985e',
    500: '#406e1d',
    950: '#000000',
  },
}
SCSS
$custom: #406e1d;
$custom-light: #79985e;
$custom-dark: #000000;
JSON
{
  "hex": "#406e1d",
  "rgb": {
    "r": 64,
    "g": 110,
    "b": 29
  },
  "hsl": {
    "h": 94.074,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48746,
    "c": 0.12173,
    "h": 134.5
  },
  "luminance": 0.12331
}

Semantic roles & 50–950 ramp

primary
#406E1D
secondary
#7A44A2
accent
#46E19E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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