#404706#404706

#404706 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.9% C 0.083 H 116.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#404706
RGBrgb(64, 71, 6)
HSLhsl(66, 84%, 15%)
HSVhsv(66, 92%, 28%)
CMYKcmyk(9.9%, 0%, 91.5%, 72.2%)
CIE-LABlab(28.41, -11.86, 34.36)
CIE-LCHlch(28.41, 36.35, 109.05°)
OKLaboklab(37.88% -0.0364 0.0742)
OKLCHoklch(37.88% 0.083 116.1)
XYZxyz(4.4006, 5.6097, 1.0232)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404706 #0D0647
analogous
#472E06 #404706 #1F4706
triadic
#404706 #064047 #470640
tetradic
#404706 #06472E #0D0647 #47061F
square
#404706 #06472E #0D0647 #47061F
split-complementary
#404706 #061F47 #2E0647
monochromatic
#191C02 #191C02 #404706 #737F0B #A6B810

Accessibility & contrast

On white

9.90
#404706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#404706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404706
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404706#FFFFFF#000000##FFFFFF
##4047061.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#4C430D
Tritanopia (blue-blind)
#45423B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404706;
/* rgb */ color: rgb(64, 71, 6);
/* oklch */ color: oklch(37.9% 0.083 116.1);
Tailwind
colors: {
  custom: {
    50: '#777a4d',
    500: '#404706',
    950: '#000000',
  },
}
SCSS
$custom: #404706;
$custom-light: #777a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#404706",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 66.462,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.37876,
    "c": 0.08269,
    "h": 116.1
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#404706
secondary
#2D2386
accent
#2DFB43
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404706

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

Preview Lab → · Contrast checker → · Palette generator →

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