#406F1A#406F1A

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

Color values

HEX#406F1A
RGBrgb(64, 111, 26)
HSLhsl(93, 62%, 27%)
HSVhsv(93, 77%, 44%)
CMYKcmyk(42.3%, 0%, 76.6%, 56.5%)
CIE-LABlab(42.05, -31.23, 39.85)
CIE-LCHlch(42.05, 50.63, 128.09°)
OKLaboklab(49% -0.0875 0.0895)
OKLCHoklch(49% 0.125 134.3)
XYZxyz(7.9851, 12.5330, 2.9755)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#406F1A #491A6F
analogous
#6B6F1A #406F1A #1A6F1E
triadic
#406F1A #1A406F #6F1A40
tetradic
#406F1A #1A6B6F #491A6F #6F1E1A
square
#406F1A #1A6B6F #491A6F #6F1E1A
split-complementary
#406F1A #1E1A6F #6F1A6B
monochromatic
#0E1906 #233D0E #406F1A #5DA126 #79CF34

Accessibility & contrast

On white

5.99
#406F1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #406F1A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##406F1A#FFFFFF#000000##FFFFFF
##406F1A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73660A
Deuteranopia (green-blind)
#6D6222
Tritanopia (blue-blind)
#3F6A5F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #406f1a;
/* rgb */ color: rgb(64, 111, 26);
/* oklch */ color: oklch(49.0% 0.125 134.3);
Tailwind
colors: {
  custom: {
    50: '#79995d',
    500: '#406f1a',
    950: '#000000',
  },
}
SCSS
$custom: #406f1a;
$custom-light: #79995d;
$custom-dark: #000000;
JSON
{
  "hex": "#406f1a",
  "rgb": {
    "r": 64,
    "g": 111,
    "b": 26
  },
  "hsl": {
    "h": 93.176,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.12516,
    "h": 134.3
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#406F1A
secondary
#7841A4
accent
#43E59C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #406F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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