#404C11#404C11

#404C11 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.3% C 0.082 H 120.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#404C11
RGBrgb(64, 76, 17)
HSLhsl(72, 63%, 18%)
HSVhsv(72, 78%, 30%)
CMYKcmyk(15.8%, 0%, 77.6%, 70.2%)
CIE-LABlab(30.16, -14.13, 31.71)
CIE-LCHlch(30.16, 34.71, 114.02°)
OKLaboklab(39.31% -0.0416 0.0709)
OKLCHoklch(39.31% 0.082 120.4)
XYZxyz(4.8001, 6.2994, 1.4932)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404C11 #1D114C
analogous
#4C3A11 #404C11 #224C11
triadic
#404C11 #11404C #4C1140
tetradic
#404C11 #114C3A #1D114C #4C1122
square
#404C11 #114C3A #1D114C #4C1122
split-complementary
#404C11 #11224C #3A114C
monochromatic
#151906 #161A06 #404C11 #6A7E1C #94B027

Accessibility & contrast

On white

9.29
#404C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404C11
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404C11#FFFFFF#000000##FFFFFF
##404C111.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514707
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#444840
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #404c11;
/* rgb */ color: rgb(64, 76, 17);
/* oklch */ color: oklch(39.3% 0.082 120.4);
Tailwind
colors: {
  custom: {
    50: '#777e53',
    500: '#404c11',
    950: '#000000',
  },
}
SCSS
$custom: #404c11;
$custom-light: #777e53;
$custom-dark: #000000;
JSON
{
  "hex": "#404c11",
  "rgb": {
    "r": 64,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 72.203,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.08223,
    "h": 120.4
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#404C11
secondary
#443385
accent
#41E663
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404C11

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

Preview Lab → · Contrast checker → · Palette generator →

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