#404013#404013

#404013 is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.064 H 109.2°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#404013
RGBrgb(64, 64, 19)
HSLhsl(60, 54%, 16%)
HSVhsv(60, 70%, 25%)
CMYKcmyk(0%, 0%, 70.3%, 74.9%)
CIE-LABlab(26.17, -6.90, 26.65)
CIE-LCHlch(26.17, 27.53, 104.52°)
OKLaboklab(36.11% -0.0212 0.0607)
OKLCHoklch(36.11% 0.064 109.2)
XYZxyz(4.0654, 4.8039, 1.3291)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404013 #131340
analogous
#402A13 #404013 #2A4013
triadic
#404013 #134040 #401340
tetradic
#404013 #13402A #131340 #40132A
square
#404013 #13402A #131340 #40132A
split-complementary
#404013 #132A40 #2A1340
monochromatic
#181807 #181807 #404013 #6F6F21 #9E9E2F

Accessibility & contrast

On white

10.71
#404013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#404013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404013
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404013#FFFFFF#000000##FFFFFF
##4040131.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0D
Deuteranopia (green-blind)
#463F16
Tritanopia (blue-blind)
#453C37
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404013;
/* rgb */ color: rgb(64, 64, 19);
/* oklch */ color: oklch(36.1% 0.064 109.2);
Tailwind
colors: {
  custom: {
    50: '#767453',
    500: '#404013',
    950: '#000000',
  },
}
SCSS
$custom: #404013;
$custom-light: #767453;
$custom-dark: #000000;
JSON
{
  "hex": "#404013",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 60,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36114,
    "c": 0.06424,
    "h": 109.2
  },
  "luminance": 0.04804
}

Semantic roles & 50–950 ramp

primary
#404013
secondary
#363679
accent
#4ADE4A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404013

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

Preview Lab → · Contrast checker → · Palette generator →

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