#405D29#405D29

#405D29 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.2% C 0.085 H 133.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#405D29
RGBrgb(64, 93, 41)
HSLhsl(93, 39%, 26%)
HSVhsv(93, 56%, 36%)
CMYKcmyk(31.2%, 0%, 55.9%, 63.5%)
CIE-LABlab(36.14, -21.00, 26.23)
CIE-LCHlch(36.14, 33.60, 128.68°)
OKLaboklab(44.22% -0.0582 0.0625)
OKLCHoklch(44.22% 0.085 133)
XYZxyz(6.4288, 9.0786, 3.5110)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#405D29 #46295D
analogous
#5A5D29 #405D29 #295D2C
triadic
#405D29 #29405D #5D2940
tetradic
#405D29 #295A5D #46295D #5D2C29
square
#405D29 #295A5D #46295D #5D2C29
split-complementary
#405D29 #2C295D #5D295A
monochromatic
#0F1509 #233316 #405D29 #5D873C #7BB14F

Accessibility & contrast

On white

7.46
#405D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#405D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #405D29
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##405D29#FFFFFF#000000##FFFFFF
##405D291.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615624
Deuteranopia (green-blind)
#5C542C
Tritanopia (blue-blind)
#405A51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #405d29;
/* rgb */ color: rgb(64, 93, 41);
/* oklch */ color: oklch(44.2% 0.085 133.0);
Tailwind
colors: {
  custom: {
    50: '#778b64',
    500: '#405d29',
    950: '#000000',
  },
}
SCSS
$custom: #405d29;
$custom-light: #778b64;
$custom-dark: #000000;
JSON
{
  "hex": "#405d29",
  "rgb": {
    "r": 64,
    "g": 93,
    "b": 41
  },
  "hsl": {
    "h": 93.462,
    "s": 38.806,
    "l": 26.275
  },
  "oklch": {
    "l": 0.44223,
    "c": 0.08538,
    "h": 133
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#405D29
secondary
#745290
accent
#59CF9B
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C05
muted
#7B7D7A

Preview Lab

Preview with #405D29

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

Preview Lab → · Contrast checker → · Palette generator →

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