#404108#404108

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

Color values

HEX#404108
RGBrgb(64, 65, 8)
HSLhsl(61, 78%, 14%)
HSVhsv(61, 88%, 25%)
CMYKcmyk(1.5%, 0%, 87.7%, 74.5%)
CIE-LABlab(26.41, -8.20, 31.81)
CIE-LCHlch(26.41, 32.85, 104.45°)
OKLaboklab(36.28% -0.0261 0.0693)
OKLCHoklch(36.28% 0.074 110.6)
XYZxyz(4.0486, 4.8882, 0.9599)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404108 #090841
analogous
#412608 #404108 #244108
triadic
#404108 #084041 #410840
tetradic
#404108 #084126 #090841 #410824
square
#404108 #084126 #090841 #410824
split-complementary
#404108 #082441 #260841
monochromatic
#1B1B03 #1B1B03 #404108 #76770F #ABAE15

Accessibility & contrast

On white

10.62
#404108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404108
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404108#FFFFFF#000000##FFFFFF
##4041081.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404108;
/* rgb */ color: rgb(64, 65, 8);
/* oklch */ color: oklch(36.3% 0.074 110.6);
Tailwind
colors: {
  custom: {
    50: '#77754d',
    500: '#404108',
    950: '#000000',
  },
}
SCSS
$custom: #404108;
$custom-light: #77754d;
$custom-dark: #000000;
JSON
{
  "hex": "#404108",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 61.053,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36283,
    "c": 0.07405,
    "h": 110.6
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#404108
secondary
#27257F
accent
#33F537
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404108

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

Preview Lab → · Contrast checker → · Palette generator →

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