#406F1D#406F1D

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

Color values

HEX#406F1D
RGBrgb(64, 111, 29)
HSLhsl(94, 59%, 27%)
HSVhsv(94, 74%, 44%)
CMYKcmyk(42.3%, 0%, 73.9%, 56.5%)
CIE-LABlab(42.07, -31.01, 38.65)
CIE-LCHlch(42.07, 49.55, 128.73°)
OKLaboklab(49.02% -0.0866 0.0875)
OKLCHoklch(49.02% 0.123 134.7)
XYZxyz(8.0204, 12.5472, 3.1614)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F1D #4C1D6F
analogous
#696F1D #406F1D #1D6F23
triadic
#406F1D #1D406F #6F1D40
tetradic
#406F1D #1D696F #4C1D6F #6F231D
square
#406F1D #1D696F #4C1D6F #6F231D
split-complementary
#406F1D #231D6F #6F1D69
monochromatic
#0E1806 #243E10 #406F1D #5CA02A #79CC3B

Accessibility & contrast

On white

5.98
#406F1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#406F1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #406F1D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F1D#FFFFFF#000000##FFFFFF
##406F1D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736610
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#3F6B5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f1d;
/* rgb */ color: rgb(64, 111, 29);
/* oklch */ color: oklch(49.0% 0.123 134.7);
Tailwind
colors: {
  custom: {
    50: '#79995e',
    500: '#406f1d',
    950: '#000000',
  },
}
SCSS
$custom: #406f1d;
$custom-light: #79995e;
$custom-dark: #000000;
JSON
{
  "hex": "#406f1d",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 94.39,
    "s": 58.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.12311,
    "h": 134.7
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#406F1D
secondary
#7B44A3
accent
#46E29F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #406F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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