#404104#404104

#404104 is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.077 H 110.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#404104
RGBrgb(64, 65, 4)
HSLhsl(61, 88%, 14%)
HSVhsv(61, 94%, 25%)
CMYKcmyk(1.5%, 0%, 93.8%, 74.5%)
CIE-LABlab(26.39, -8.41, 33.42)
CIE-LCHlch(26.39, 34.46, 104.12°)
OKLaboklab(36.25% -0.0271 0.0718)
OKLCHoklch(36.25% 0.077 110.7)
XYZxyz(4.0267, 4.8795, 0.8446)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404104 #050441
analogous
#412304 #404104 #214104
triadic
#404104 #044041 #410440
tetradic
#404104 #044123 #050441 #410421
square
#404104 #044123 #050441 #410421
split-complementary
#404104 #042141 #230441
monochromatic
#1C1D02 #1C1D02 #404104 #797B08 #B2B40B

Accessibility & contrast

On white

10.63
#404104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#404104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404104
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404104#FFFFFF#000000##FFFFFF
##4041041.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#483F09
Tritanopia (blue-blind)
#453C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404104;
/* rgb */ color: rgb(64, 65, 4);
/* oklch */ color: oklch(36.3% 0.077 110.7);
Tailwind
colors: {
  custom: {
    50: '#77754b',
    500: '#404104',
    950: '#000000',
  },
}
SCSS
$custom: #404104;
$custom-light: #77754b;
$custom-dark: #000000;
JSON
{
  "hex": "#404104",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 60.984,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.07673,
    "h": 110.7
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#404104
secondary
#201F82
accent
#29FF2D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404104

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

Preview Lab → · Contrast checker → · Palette generator →

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