#404106#404106

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

Color values

HEX#404106
RGBrgb(64, 65, 6)
HSLhsl(61, 83%, 14%)
HSVhsv(61, 91%, 25%)
CMYKcmyk(1.5%, 0%, 90.8%, 74.5%)
CIE-LABlab(26.40, -8.30, 32.61)
CIE-LCHlch(26.40, 33.65, 104.28°)
OKLaboklab(36.27% -0.0266 0.0705)
OKLCHoklch(36.27% 0.075 110.7)
XYZxyz(4.0377, 4.8838, 0.9022)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404106 #070641
analogous
#412506 #404106 #234106
triadic
#404106 #064041 #410640
tetradic
#404106 #064125 #070641 #410623
square
#404106 #064125 #070641 #410623
split-complementary
#404106 #062341 #250641
monochromatic
#1C1C03 #1C1C03 #404106 #77790B #AEB110

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #404106;
/* rgb */ color: rgb(64, 65, 6);
/* oklch */ color: oklch(36.3% 0.075 110.7);
Tailwind
colors: {
  custom: {
    50: '#77754c',
    500: '#404106',
    950: '#000000',
  },
}
SCSS
$custom: #404106;
$custom-light: #77754c;
$custom-dark: #000000;
JSON
{
  "hex": "#404106",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 61.017,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.36269,
    "c": 0.07538,
    "h": 110.7
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#404106
secondary
#242281
accent
#2EF932
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404106

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

Preview Lab → · Contrast checker → · Palette generator →

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