#405E1A#405E1A

#405E1A is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.3% C 0.101 H 130.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#405E1A
RGBrgb(64, 94, 26)
HSLhsl(86, 57%, 24%)
HSVhsv(86, 72%, 37%)
CMYKcmyk(31.9%, 0%, 72.3%, 63.1%)
CIE-LABlab(36.31, -23.08, 34.00)
CIE-LCHlch(36.31, 41.09, 124.18°)
OKLaboklab(44.31% -0.0653 0.0773)
OKLCHoklch(44.31% 0.101 130.2)
XYZxyz(6.3035, 9.1698, 2.4149)
Luminance0.0917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E1A #381A5E
analogous
#5E5A1A #405E1A #1E5E1A
triadic
#405E1A #1A405E #5E1A40
tetradic
#405E1A #1A5E5A #381A5E #5E1A1E
square
#405E1A #1A5E5A #381A5E #5E1A1E
split-complementary
#405E1A #1A1E5E #5A1A5E
monochromatic
#101807 #1F2E0D #405E1A #618E27 #81BE35

Accessibility & contrast

On white

7.41
#405E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#405E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E1A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E1A#FFFFFF#000000##FFFFFF
##405E1A1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635710
Deuteranopia (green-blind)
#5E5520
Tritanopia (blue-blind)
#425A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405e1a;
/* rgb */ color: rgb(64, 94, 26);
/* oklch */ color: oklch(44.3% 0.101 130.2);
Tailwind
colors: {
  custom: {
    50: '#788c5b',
    500: '#405e1a',
    950: '#000000',
  },
}
SCSS
$custom: #405e1a;
$custom-light: #788c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#405e1a",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 26
  },
  "hsl": {
    "h": 86.471,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44312,
    "c": 0.10116,
    "h": 130.2
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#405E1A
secondary
#654094
accent
#48E08B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #405E1A

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

Preview Lab → · Contrast checker → · Palette generator →

#405E1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva