#405E2E#405E2E

#405E2E is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.6% C 0.081 H 134.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#405E2E
RGBrgb(64, 94, 46)
HSLhsl(98, 34%, 27%)
HSVhsv(98, 51%, 37%)
CMYKcmyk(31.9%, 0%, 51.1%, 63.1%)
CIE-LABlab(36.54, -20.85, 23.94)
CIE-LCHlch(36.54, 31.75, 131.06°)
OKLaboklab(44.58% -0.0574 0.0578)
OKLCHoklch(44.58% 0.081 134.8)
XYZxyz(6.6100, 9.2924, 4.0296)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E2E #4C2E5E
analogous
#585E2E #405E2E #2E5E34
triadic
#405E2E #2E405E #5E2E40
tetradic
#405E2E #2E585E #4C2E5E #5E342E
square
#405E2E #2E585E #4C2E5E #5E342E
split-complementary
#405E2E #342E5E #5E2E58
monochromatic
#0E150A #24351A #405E2E #5C8742 #79AE59

Accessibility & contrast

On white

7.35
#405E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#405E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405E2E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E2E#FFFFFF#000000##FFFFFF
##405E2E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582A
Deuteranopia (green-blind)
#5D5531
Tritanopia (blue-blind)
#405B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #405e2e;
/* rgb */ color: rgb(64, 94, 46);
/* oklch */ color: oklch(44.6% 0.081 134.8);
Tailwind
colors: {
  custom: {
    50: '#768c68',
    500: '#405e2e',
    950: '#000000',
  },
}
SCSS
$custom: #405e2e;
$custom-light: #768c68;
$custom-dark: #000000;
JSON
{
  "hex": "#405e2e",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 46
  },
  "hsl": {
    "h": 97.5,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.44575,
    "c": 0.08147,
    "h": 134.8
  },
  "luminance": 0.09293
}

Semantic roles & 50–950 ramp

primary
#405E2E
secondary
#7B5890
accent
#5DCAA2
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A

Preview Lab

Preview with #405E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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