#404606#404606

#404606 is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.6% C 0.081 H 115.3°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#404606
RGBrgb(64, 70, 6)
HSLhsl(66, 84%, 15%)
HSVhsv(66, 91%, 27%)
CMYKcmyk(8.6%, 0%, 91.4%, 72.5%)
CIE-LABlab(28.07, -11.28, 34.07)
CIE-LCHlch(28.07, 35.89, 108.32°)
OKLaboklab(37.61% -0.0348 0.0736)
OKLCHoklch(37.61% 0.081 115.3)
XYZxyz(4.3375, 5.4835, 1.0022)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404606 #0C0646
analogous
#462C06 #404606 #204606
triadic
#404606 #064046 #460640
tetradic
#404606 #06462C #0C0646 #460620
square
#404606 #06462C #0C0646 #460620
split-complementary
#404606 #062046 #2C0646
monochromatic
#1A1C02 #1A1C02 #404606 #747E0B #A7B710

Accessibility & contrast

On white

10.02
#404606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#404606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404606
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404606#FFFFFF#000000##FFFFFF
##4046061.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#4B430C
Tritanopia (blue-blind)
#45413B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404606;
/* rgb */ color: rgb(64, 70, 6);
/* oklch */ color: oklch(37.6% 0.081 115.3);
Tailwind
colors: {
  custom: {
    50: '#77794d',
    500: '#404606',
    950: '#000000',
  },
}
SCSS
$custom: #404606;
$custom-light: #77794d;
$custom-dark: #000000;
JSON
{
  "hex": "#404606",
  "rgb": {
    "r": 64,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 65.625,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.37606,
    "c": 0.08144,
    "h": 115.3
  },
  "luminance": 0.05483
}

Semantic roles & 50–950 ramp

primary
#404606
secondary
#2C2285
accent
#2DFA41
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404606

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

Preview Lab → · Contrast checker → · Palette generator →

#404606 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva