#403706#403706

#403706 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.7% C 0.065 H 98.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#403706
RGBrgb(64, 55, 6)
HSLhsl(51, 83%, 14%)
HSVhsv(51, 91%, 25%)
CMYKcmyk(0%, 14.1%, 90.6%, 74.9%)
CIE-LABlab(23.12, -2.06, 29.46)
CIE-LCHlch(23.12, 29.53, 94.00°)
OKLaboklab(33.66% -0.0091 0.0644)
OKLCHoklch(33.66% 0.065 98.1)
XYZxyz(3.5136, 3.8357, 0.7276)
Luminance0.0384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403706 #060F40
analogous
#401A06 #403706 #2C4006
triadic
#403706 #064037 #370640
tetradic
#403706 #06401A #060F40 #40062C
square
#403706 #06401A #060F40 #40062C
split-complementary
#403706 #062C40 #1A0640
monochromatic
#1C1803 #1C1803 #403706 #78670B #B09710

Accessibility & contrast

On white

11.88
#403706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403706
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403706#FFFFFF#000000##FFFFFF
##4037061.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#403809
Tritanopia (blue-blind)
#46322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403706;
/* rgb */ color: rgb(64, 55, 6);
/* oklch */ color: oklch(33.7% 0.065 98.1);
Tailwind
colors: {
  custom: {
    50: '#776d4b',
    500: '#403706',
    950: '#000000',
  },
}
SCSS
$custom: #403706;
$custom-light: #776d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403706",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 50.69,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33656,
    "c": 0.06501,
    "h": 98.1
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#403706
secondary
#223180
accent
#4EF92F
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403706

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

Preview Lab → · Contrast checker → · Palette generator →

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