#403606#403606

#403606 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.4% C 0.064 H 96.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#403606
RGBrgb(64, 54, 6)
HSLhsl(50, 83%, 14%)
HSVhsv(50, 91%, 25%)
CMYKcmyk(0%, 15.6%, 90.6%, 74.9%)
CIE-LABlab(22.80, -1.42, 29.13)
CIE-LCHlch(22.80, 29.16, 92.79°)
OKLaboklab(33.4% -0.0073 0.0638)
OKLCHoklch(33.4% 0.064 96.6)
XYZxyz(3.4666, 3.7417, 0.7119)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403606 #061040
analogous
#401906 #403606 #2D4006
triadic
#403606 #064036 #360640
tetradic
#403606 #064019 #061040 #40062D
square
#403606 #064019 #061040 #40062D
split-complementary
#403606 #062D40 #190640
monochromatic
#1C1803 #1C1803 #403606 #78650B #B09410

Accessibility & contrast

On white

12.01
#403606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#403606 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403606
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403606#FFFFFF#000000##FFFFFF
##4036061.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3F3809
Tritanopia (blue-blind)
#46312D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403606;
/* rgb */ color: rgb(64, 54, 6);
/* oklch */ color: oklch(33.4% 0.064 96.6);
Tailwind
colors: {
  custom: {
    50: '#776c4b',
    500: '#403606',
    950: '#000000',
  },
}
SCSS
$custom: #403606;
$custom-light: #776c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403606",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 6
  },
  "hsl": {
    "h": 49.655,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33401,
    "c": 0.06417,
    "h": 96.6
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#403606
secondary
#223280
accent
#52F92F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403606

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

Preview Lab → · Contrast checker → · Palette generator →

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