#405E29#405E29

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

Color values

HEX#405E29
RGBrgb(64, 94, 41)
HSLhsl(94, 39%, 26%)
HSVhsv(94, 56%, 37%)
CMYKcmyk(31.9%, 0%, 56.4%, 63.1%)
CIE-LABlab(36.47, -21.52, 26.63)
CIE-LCHlch(36.47, 34.24, 128.94°)
OKLaboklab(44.5% -0.0596 0.0634)
OKLCHoklch(44.5% 0.087 133.3)
XYZxyz(6.5172, 9.2553, 3.5405)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405E29 #47295E
analogous
#5B5E29 #405E29 #295E2D
triadic
#405E29 #29405E #5E2940
tetradic
#405E29 #295B5E #47295E #5E2D29
square
#405E29 #295B5E #47295E #5E2D29
split-complementary
#405E29 #2D295E #5E295B
monochromatic
#0F1509 #233316 #405E29 #5D893C #7AB24F

Accessibility & contrast

On white

7.37
#405E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #405E29
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405E29#FFFFFF#000000##FFFFFF
##405E291.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #405e29;
/* rgb */ color: rgb(64, 94, 41);
/* oklch */ color: oklch(44.5% 0.087 133.3);
Tailwind
colors: {
  custom: {
    50: '#778c64',
    500: '#405e29',
    950: '#000000',
  },
}
SCSS
$custom: #405e29;
$custom-light: #778c64;
$custom-dark: #000000;
JSON
{
  "hex": "#405e29",
  "rgb": {
    "r": 64,
    "g": 94,
    "b": 41
  },
  "hsl": {
    "h": 93.962,
    "s": 39.259,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44496,
    "c": 0.087,
    "h": 133.3
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#405E29
secondary
#765291
accent
#59CF9C
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #405E29

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

Preview Lab → · Contrast checker → · Palette generator →

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