#404712#404712

#404712 is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 38.0% C 0.074 H 116.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#404712
RGBrgb(64, 71, 18)
HSLhsl(68, 60%, 17%)
HSVhsv(68, 75%, 28%)
CMYKcmyk(9.9%, 0%, 74.6%, 72.2%)
CIE-LABlab(28.49, -11.18, 29.57)
CIE-LCHlch(28.49, 31.61, 110.71°)
OKLaboklab(37.97% -0.0333 0.0666)
OKLCHoklch(37.97% 0.074 116.5)
XYZxyz(4.4769, 5.6402, 1.4250)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404712 #191247
analogous
#473412 #404712 #254712
triadic
#404712 #124047 #471240
tetradic
#404712 #124734 #191247 #471225
square
#404712 #124734 #191247 #471225
split-complementary
#404712 #122547 #341247
monochromatic
#161806 #161806 #404712 #6C781E #98A92B

Accessibility & contrast

On white

9.87
#404712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#404712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404712
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404712#FFFFFF#000000##FFFFFF
##4047121.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#4C4416
Tritanopia (blue-blind)
#44433C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404712;
/* rgb */ color: rgb(64, 71, 18);
/* oklch */ color: oklch(38.0% 0.074 116.5);
Tailwind
colors: {
  custom: {
    50: '#777a53',
    500: '#404712',
    950: '#000000',
  },
}
SCSS
$custom: #404712;
$custom-light: #777a53;
$custom-dark: #000000;
JSON
{
  "hex": "#404712",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 67.925,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37966,
    "c": 0.07448,
    "h": 116.5
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#404712
secondary
#3F3580
accent
#45E35A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404712

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

Preview Lab → · Contrast checker → · Palette generator →

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