#404B2E#404B2E

#404B2E is a dark, muted yellow-green. Relative luminance 0.063; OKLCH L 39.5% C 0.048 H 125.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#404B2E
RGBrgb(64, 75, 46)
HSLhsl(83, 24%, 24%)
HSVhsv(83, 39%, 29%)
CMYKcmyk(14.7%, 0%, 38.7%, 70.6%)
CIE-LABlab(30.20, -10.28, 15.87)
CIE-LCHlch(30.20, 18.90, 122.94°)
OKLaboklab(39.47% -0.028 0.0393)
OKLCHoklch(39.47% 0.048 125.4)
XYZxyz(5.1235, 6.3194, 3.5341)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404B2E #392E4B
analogous
#4B472E #404B2E #314B2E
triadic
#404B2E #2E404B #4B2E40
tetradic
#404B2E #2E4B47 #392E4B #4B2E31
square
#404B2E #2E4B47 #392E4B #4B2E31
split-complementary
#404B2E #2E314B #472E4B
monochromatic
#10130C #202517 #404B2E #607145 #81975D

Accessibility & contrast

On white

9.28
#404B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#404B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404B2E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404B2E#FFFFFF#000000##FFFFFF
##404B2E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482C
Deuteranopia (green-blind)
#4C472F
Tritanopia (blue-blind)
#424844
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404b2e;
/* rgb */ color: rgb(64, 75, 46);
/* oklch */ color: oklch(39.5% 0.048 125.4);
Tailwind
colors: {
  custom: {
    50: '#757d67',
    500: '#404b2e',
    950: '#000000',
  },
}
SCSS
$custom: #404b2e;
$custom-light: #757d67;
$custom-dark: #000000;
JSON
{
  "hex": "#404b2e",
  "rgb": {
    "r": 64,
    "g": 75,
    "b": 46
  },
  "hsl": {
    "h": 82.759,
    "s": 23.967,
    "l": 23.725
  },
  "oklch": {
    "l": 0.39469,
    "c": 0.04828,
    "h": 125.4
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#404B2E
secondary
#66597C
accent
#67C089
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080906
muted
#7B7B7A

Preview Lab

Preview with #404B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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