#403906#403906

#403906 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.2% C 0.067 H 101.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#403906
RGBrgb(64, 57, 6)
HSLhsl(53, 83%, 14%)
HSVhsv(53, 91%, 25%)
CMYKcmyk(0%, 10.9%, 90.6%, 74.9%)
CIE-LABlab(23.77, -3.34, 30.11)
CIE-LCHlch(23.77, 30.30, 96.33°)
OKLaboklab(34.17% -0.0127 0.0656)
OKLCHoklch(34.17% 0.067 101)
XYZxyz(3.6105, 4.0296, 0.7599)
Luminance0.0403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403906 #060D40
analogous
#401C06 #403906 #2A4006
triadic
#403906 #064039 #390640
tetradic
#403906 #06401C #060D40 #40062A
square
#403906 #06401C #060D40 #40062A
split-complementary
#403906 #062A40 #1C0640
monochromatic
#1C1903 #1C1903 #403906 #786B0B #B09D10

Accessibility & contrast

On white

11.63
#403906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#403906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403906
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403906#FFFFFF#000000##FFFFFF
##4039061.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#413A0A
Tritanopia (blue-blind)
#463430
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403906;
/* rgb */ color: rgb(64, 57, 6);
/* oklch */ color: oklch(34.2% 0.067 101.0);
Tailwind
colors: {
  custom: {
    50: '#776f4b',
    500: '#403906',
    950: '#000000',
  },
}
SCSS
$custom: #403906;
$custom-light: #776f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403906",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 6
  },
  "hsl": {
    "h": 52.759,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.06682,
    "h": 101
  },
  "luminance": 0.04029
}

Semantic roles & 50–950 ramp

primary
#403906
secondary
#222D80
accent
#47F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403906

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

Preview Lab → · Contrast checker → · Palette generator →

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