#404C22#404C22

#404C22 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.5% C 0.066 H 122.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#404C22
RGBrgb(64, 76, 34)
HSLhsl(77, 38%, 22%)
HSVhsv(77, 55%, 30%)
CMYKcmyk(15.8%, 0%, 55.3%, 70.2%)
CIE-LABlab(30.34, -12.54, 23.20)
CIE-LCHlch(30.34, 26.37, 118.40°)
OKLaboklab(39.51% -0.0353 0.0552)
OKLCHoklch(39.51% 0.066 122.6)
XYZxyz(4.9875, 6.3744, 2.4807)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C22 #2E224C
analogous
#4C4322 #404C22 #2B4C22
triadic
#404C22 #22404C #4C2240
tetradic
#404C22 #224C43 #2E224C #4C222B
square
#404C22 #224C43 #2E224C #4C222B
split-complementary
#404C22 #222B4C #43224C
monochromatic
#121509 #1C220F #404C22 #647635 #87A148

Accessibility & contrast

On white

9.23
#404C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#404C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404C22
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C22#FFFFFF#000000##FFFFFF
##404C221.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50481E
Deuteranopia (green-blind)
#4F4724
Tritanopia (blue-blind)
#434842
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c22;
/* rgb */ color: rgb(64, 76, 34);
/* oklch */ color: oklch(39.5% 0.066 122.6);
Tailwind
colors: {
  custom: {
    50: '#767e5e',
    500: '#404c22',
    950: '#000000',
  },
}
SCSS
$custom: #404c22;
$custom-light: #767e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#404c22",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 34
  },
  "hsl": {
    "h": 77.143,
    "s": 38.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.0655,
    "h": 122.6
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#404C22
secondary
#594A80
accent
#5ACE7B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080904
muted
#7B7B79

Preview Lab

Preview with #404C22

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

Preview Lab → · Contrast checker → · Palette generator →

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