#405E2A#405E2A

#405E2A is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.5% C 0.086 H 133.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#405E2A
RGBrgb(64, 94, 42)
HSLhsl(95, 38%, 27%)
HSVhsv(95, 55%, 37%)
CMYKcmyk(31.9%, 0%, 55.3%, 63.1%)
CIE-LABlab(36.48, -21.39, 26.10)
CIE-LCHlch(36.48, 33.75, 129.34°)
OKLaboklab(44.51% -0.0592 0.0623)
OKLCHoklch(44.51% 0.086 133.6)
XYZxyz(6.5349, 9.2623, 3.6335)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E2A #482A5E
analogous
#5A5E2A #405E2A #2A5E2E
triadic
#405E2A #2A405E #5E2A40
tetradic
#405E2A #2A5A5E #482A5E #5E2E2A
square
#405E2A #2A5A5E #482A5E #5E2E2A
split-complementary
#405E2A #2E2A5E #5E2A5A
monochromatic
#0E1509 #233417 #405E2A #5D883D #7AB151

Accessibility & contrast

On white

7.36
#405E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#405E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E2A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E2A#FFFFFF#000000##FFFFFF
##405E2A1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625725
Deuteranopia (green-blind)
#5D552D
Tritanopia (blue-blind)
#405B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e2a;
/* rgb */ color: rgb(64, 94, 42);
/* oklch */ color: oklch(44.5% 0.086 133.6);
Tailwind
colors: {
  custom: {
    50: '#778c65',
    500: '#405e2a',
    950: '#000000',
  },
}
SCSS
$custom: #405e2a;
$custom-light: #778c65;
$custom-dark: #000000;
JSON
{
  "hex": "#405e2a",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 42
  },
  "hsl": {
    "h": 94.615,
    "s": 38.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44511,
    "c": 0.08592,
    "h": 133.6
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#405E2A
secondary
#775390
accent
#5ACE9D
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #405E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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