#404C2D#404C2D

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

Color values

HEX#404C2D
RGBrgb(64, 76, 45)
HSLhsl(83, 26%, 24%)
HSVhsv(83, 41%, 30%)
CMYKcmyk(15.8%, 0%, 40.8%, 70.2%)
CIE-LABlab(30.52, -11.03, 16.89)
CIE-LCHlch(30.52, 20.17, 123.14°)
OKLaboklab(39.71% -0.0301 0.0417)
OKLCHoklch(39.71% 0.051 125.9)
XYZxyz(5.1724, 6.4483, 3.4543)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C2D #392D4C
analogous
#4C482D #404C2D #304C2D
triadic
#404C2D #2D404C #4C2D40
tetradic
#404C2D #2D4C48 #392D4C #4C2D30
square
#404C2D #2D4C48 #392D4C #4C2D30
split-complementary
#404C2D #2D304C #482D4C
monochromatic
#10130B #202616 #404C2D #607244 #81995B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404C2D#FFFFFF#000000##FFFFFF
##404C2D1.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)
#4F482B
Deuteranopia (green-blind)
#4D482F
Tritanopia (blue-blind)
#424944
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #404c2d;
/* rgb */ color: rgb(64, 76, 45);
/* oklch */ color: oklch(39.7% 0.051 125.9);
Tailwind
colors: {
  custom: {
    50: '#757e66',
    500: '#404c2d',
    950: '#000000',
  },
}
SCSS
$custom: #404c2d;
$custom-light: #757e66;
$custom-dark: #000000;
JSON
{
  "hex": "#404c2d",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 45
  },
  "hsl": {
    "h": 83.226,
    "s": 25.62,
    "l": 23.725
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.05144,
    "h": 125.9
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#404C2D
secondary
#66577D
accent
#66C289
background
#F7F7F6
surface
#EDEEEB
border
#C8C9C6
text
#080906
muted
#7B7B7A

Preview Lab

Preview with #404C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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