#404708#404708

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

Color values

HEX#404708
RGBrgb(64, 71, 8)
HSLhsl(67, 80%, 15%)
HSVhsv(67, 89%, 28%)
CMYKcmyk(9.9%, 0%, 88.7%, 72.2%)
CIE-LABlab(28.42, -11.77, 33.60)
CIE-LCHlch(28.42, 35.60, 109.30°)
OKLaboklab(37.89% -0.0359 0.0731)
OKLCHoklch(37.89% 0.081 116.2)
XYZxyz(4.4115, 5.6141, 1.0809)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404708 #0F0847
analogous
#472E08 #404708 #204708
triadic
#404708 #084047 #470840
tetradic
#404708 #08472E #0F0847 #470820
square
#404708 #08472E #0F0847 #470820
split-complementary
#404708 #082047 #2E0847
monochromatic
#191C03 #191C03 #404708 #727E0E #A3B514

Accessibility & contrast

On white

9.89
#404708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404708
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404708#FFFFFF#000000##FFFFFF
##4047081.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404708;
/* rgb */ color: rgb(64, 71, 8);
/* oklch */ color: oklch(37.9% 0.081 116.2);
Tailwind
colors: {
  custom: {
    50: '#777a4e',
    500: '#404708',
    950: '#000000',
  },
}
SCSS
$custom: #404708;
$custom-light: #777a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#404708",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 8
  },
  "hsl": {
    "h": 66.667,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.08147,
    "h": 116.2
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#404708
secondary
#302685
accent
#32F647
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #404708

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

Preview Lab → · Contrast checker → · Palette generator →

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