#404C2C#404C2C

#404C2C is a dark, muted yellow-green. Relative luminance 0.064; OKLCH L 39.7% C 0.053 H 125.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#404C2C
RGBrgb(64, 76, 44)
HSLhsl(83, 27%, 24%)
HSVhsv(83, 42%, 30%)
CMYKcmyk(15.8%, 0%, 42.1%, 70.2%)
CIE-LABlab(30.50, -11.18, 17.47)
CIE-LCHlch(30.50, 20.74, 122.61°)
OKLaboklab(39.69% -0.0306 0.043)
OKLCHoklch(39.69% 0.053 125.5)
XYZxyz(5.1534, 6.4407, 3.3541)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C2C #382C4C
analogous
#4C482C #404C2C #304C2C
triadic
#404C2C #2C404C #4C2C40
tetradic
#404C2C #2C4C48 #382C4C #4C2C30
square
#404C2C #2C4C48 #382C4C #4C2C30
split-complementary
#404C2C #2C304C #482C4C
monochromatic
#10130B #1F2516 #404C2C #617342 #819A59

Accessibility & contrast

On white

9.18
#404C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404C2C
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C2C#FFFFFF#000000##FFFFFF
##404C2C1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404c2c;
/* rgb */ color: rgb(64, 76, 44);
/* oklch */ color: oklch(39.7% 0.053 125.5);
Tailwind
colors: {
  custom: {
    50: '#757e65',
    500: '#404c2c',
    950: '#000000',
  },
}
SCSS
$custom: #404c2c;
$custom-light: #757e65;
$custom-dark: #000000;
JSON
{
  "hex": "#404c2c",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 44
  },
  "hsl": {
    "h": 82.5,
    "s": 26.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39692,
    "c": 0.05279,
    "h": 125.5
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#404C2C
secondary
#65567E
accent
#65C388
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #404C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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