#404704#404704

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

Color values

HEX#404704
RGBrgb(64, 71, 4)
HSLhsl(66, 89%, 15%)
HSVhsv(66, 94%, 28%)
CMYKcmyk(9.9%, 0%, 94.4%, 72.2%)
CIE-LABlab(28.39, -11.96, 35.15)
CIE-LCHlch(28.39, 37.13, 108.80°)
OKLaboklab(37.86% -0.0369 0.0754)
OKLCHoklch(37.86% 0.084 116.1)
XYZxyz(4.3896, 5.6053, 0.9655)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404704 #0B0447
analogous
#472D04 #404704 #1E4704
triadic
#404704 #044047 #470440
tetradic
#404704 #04472D #0B0447 #47041E
square
#404704 #04472D #0B0447 #47041E
split-complementary
#404704 #041E47 #2D0447
monochromatic
#1A1D02 #1A1D02 #404704 #748107 #A8BB0B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404704#FFFFFF#000000##FFFFFF
##4047041.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)
#4C430B
Tritanopia (blue-blind)
#45423B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404704;
/* rgb */ color: rgb(64, 71, 4);
/* oklch */ color: oklch(37.9% 0.084 116.1);
Tailwind
colors: {
  custom: {
    50: '#787a4c',
    500: '#404704',
    950: '#000000',
  },
}
SCSS
$custom: #404704;
$custom-light: #787a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#404704",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 4
  },
  "hsl": {
    "h": 66.269,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.37863,
    "c": 0.08393,
    "h": 116.1
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#404704
secondary
#2A1F88
accent
#29FF3F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090901
muted
#7B7B77

Preview Lab

Preview with #404704

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

Preview Lab → · Contrast checker → · Palette generator →

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