#406D1D#406D1D

#406D1D is a mid, vivid yellow-green. Relative luminance 0.121; OKLCH L 48.5% C 0.120 H 134.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#406D1D
RGBrgb(64, 109, 29)
HSLhsl(94, 58%, 27%)
HSVhsv(94, 73%, 43%)
CMYKcmyk(41.3%, 0%, 73.4%, 57.3%)
CIE-LABlab(41.40, -30.09, 37.96)
CIE-LCHlch(41.40, 48.44, 128.40°)
OKLaboklab(48.47% -0.0841 0.0861)
OKLCHoklch(48.47% 0.12 134.3)
XYZxyz(7.8046, 12.1156, 3.0895)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406D1D #4A1D6D
analogous
#686D1D #406D1D #1D6D22
triadic
#406D1D #1D406D #6D1D40
tetradic
#406D1D #1D686D #4A1D6D #6D221D
square
#406D1D #1D686D #4A1D6D #6D221D
split-complementary
#406D1D #221D6D #6D1D68
monochromatic
#0E1806 #243D10 #406D1D #5C9D2A #79CB3A

Accessibility & contrast

On white

6.13
#406D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#406D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406D1D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406D1D#FFFFFF#000000##FFFFFF
##406D1D1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716410
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#3F695D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #406d1d;
/* rgb */ color: rgb(64, 109, 29);
/* oklch */ color: oklch(48.5% 0.120 134.3);
Tailwind
colors: {
  custom: {
    50: '#79975e',
    500: '#406d1d',
    950: '#000000',
  },
}
SCSS
$custom: #406d1d;
$custom-light: #79975e;
$custom-dark: #000000;
JSON
{
  "hex": "#406d1d",
  "rgb": {
    "r": 64,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 93.75,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48471,
    "c": 0.12033,
    "h": 134.3
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#406D1D
secondary
#7944A2
accent
#47E19E
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090D05
muted
#7B7E79

Preview Lab

Preview with #406D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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