#404C2E#404C2E

#404C2E is a dark, muted yellow-green. Relative luminance 0.065; OKLCH L 39.7% C 0.050 H 126.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#404C2E
RGBrgb(64, 76, 46)
HSLhsl(84, 25%, 24%)
HSVhsv(84, 39%, 30%)
CMYKcmyk(15.8%, 0%, 39.5%, 70.2%)
CIE-LABlab(30.54, -10.87, 16.30)
CIE-LCHlch(30.54, 19.59, 123.70°)
OKLaboklab(39.73% -0.0296 0.0403)
OKLCHoklch(39.73% 0.05 126.3)
XYZxyz(5.1919, 6.4561, 3.5569)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C2E #3A2E4C
analogous
#4C492E #404C2E #314C2E
triadic
#404C2E #2E404C #4C2E40
tetradic
#404C2E #2E4C49 #3A2E4C #4C2E31
square
#404C2E #2E4C49 #3A2E4C #4C2E31
split-complementary
#404C2E #2E314C #492E4C
monochromatic
#10130C #202617 #404C2E #607245 #80985C

Accessibility & contrast

On white

9.17
#404C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#404C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C2E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C2E#FFFFFF#000000##FFFFFF
##404C2E1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F482C
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#424944
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404c2e;
/* rgb */ color: rgb(64, 76, 46);
/* oklch */ color: oklch(39.7% 0.050 126.3);
Tailwind
colors: {
  custom: {
    50: '#757e67',
    500: '#404c2e',
    950: '#000000',
  },
}
SCSS
$custom: #404c2e;
$custom-light: #757e67;
$custom-dark: #000000;
JSON
{
  "hex": "#404c2e",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 46
  },
  "hsl": {
    "h": 84,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.05007,
    "h": 126.3
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#404C2E
secondary
#67597D
accent
#67C18B
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080906
muted
#7B7B7A

Preview Lab

Preview with #404C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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