#404105#404105

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

Color values

HEX#404105
RGBrgb(64, 65, 5)
HSLhsl(61, 86%, 14%)
HSVhsv(61, 92%, 25%)
CMYKcmyk(1.5%, 0%, 92.3%, 74.5%)
CIE-LABlab(26.39, -8.35, 33.02)
CIE-LCHlch(26.39, 34.06, 104.20°)
OKLaboklab(36.26% -0.0268 0.0712)
OKLCHoklch(36.26% 0.076 110.7)
XYZxyz(4.0322, 4.8817, 0.8734)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404105 #060541
analogous
#412405 #404105 #224105
triadic
#404105 #054041 #410540
tetradic
#404105 #054124 #060541 #410522
square
#404105 #054124 #060541 #410522
split-complementary
#404105 #052241 #240541
monochromatic
#1C1C02 #1C1C02 #404105 #787A09 #B0B30E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404105#FFFFFF#000000##FFFFFF
##4041051.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)
#483F0A
Tritanopia (blue-blind)
#453C36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #404105;
/* rgb */ color: rgb(64, 65, 5);
/* oklch */ color: oklch(36.3% 0.076 110.7);
Tailwind
colors: {
  custom: {
    50: '#77754c',
    500: '#404105',
    950: '#000000',
  },
}
SCSS
$custom: #404105;
$custom-light: #77754c;
$custom-dark: #000000;
JSON
{
  "hex": "#404105",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 61,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.36262,
    "c": 0.07605,
    "h": 110.7
  },
  "luminance": 0.04882
}

Semantic roles & 50–950 ramp

primary
#404105
secondary
#222081
accent
#2CFC2F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404105

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

Preview Lab → · Contrast checker → · Palette generator →

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