#404F2B#404F2B

#404F2B is a dark, muted yellow-green. Relative luminance 0.069; OKLCH L 40.5% C 0.059 H 127.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#404F2B
RGBrgb(64, 79, 43)
HSLhsl(85, 30%, 24%)
HSVhsv(85, 46%, 31%)
CMYKcmyk(19%, 0%, 45.6%, 69%)
CIE-LABlab(31.48, -13.07, 19.33)
CIE-LCHlch(31.48, 23.34, 124.06°)
OKLaboklab(40.47% -0.036 0.0472)
OKLCHoklch(40.47% 0.059 127.3)
XYZxyz(5.3463, 6.8563, 3.3268)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404F2B #3A2B4F
analogous
#4F4C2B #404F2B #2E4F2B
triadic
#404F2B #2B404F #4F2B40
tetradic
#404F2B #2B4F4C #3A2B4F #4F2B2E
square
#404F2B #2B4F4C #3A2B4F #4F2B2E
split-complementary
#404F2B #2B2E4F #4C2B4F
monochromatic
#10140B #202715 #404F2B #607741 #809E56

Accessibility & contrast

On white

8.86
#404F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#404F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404F2B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404F2B#FFFFFF#000000##FFFFFF
##404F2B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B28
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#424C46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #404f2b;
/* rgb */ color: rgb(64, 79, 43);
/* oklch */ color: oklch(40.5% 0.059 127.3);
Tailwind
colors: {
  custom: {
    50: '#758065',
    500: '#404f2b',
    950: '#000000',
  },
}
SCSS
$custom: #404f2b;
$custom-light: #758065;
$custom-dark: #000000;
JSON
{
  "hex": "#404f2b",
  "rgb": {
    "r": 64,
    "g": 79,
    "b": 43
  },
  "hsl": {
    "h": 85,
    "s": 29.508,
    "l": 23.922
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.05936,
    "h": 127.3
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#404F2B
secondary
#675581
accent
#62C68C
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080A05
muted
#7B7C7A

Preview Lab

Preview with #404F2B

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

Preview Lab → · Contrast checker → · Palette generator →

#404F2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva