#403715#403715

#403715 is a dark, muted yellow. Relative luminance 0.039; OKLCH L 33.8% C 0.052 H 94.6°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#403715
RGBrgb(64, 55, 21)
HSLhsl(47, 51%, 17%)
HSVhsv(47, 67%, 25%)
CMYKcmyk(0%, 14.1%, 67.2%, 74.9%)
CIE-LABlab(23.26, -1.06, 22.37)
CIE-LCHlch(23.26, 22.39, 92.71°)
OKLaboklab(33.81% -0.0042 0.0519)
OKLCHoklch(33.81% 0.052 94.6)
XYZxyz(3.6160, 3.8767, 1.2671)
Luminance0.0388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403715 #151E40
analogous
#402215 #403715 #344015
triadic
#403715 #154037 #371540
tetradic
#403715 #154022 #151E40 #401534
square
#403715 #154022 #151E40 #401534
split-complementary
#403715 #153440 #221540
monochromatic
#171408 #171408 #403715 #6E5F24 #9C8633

Accessibility & contrast

On white

11.83
#403715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#403715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403715
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403715#FFFFFF#000000##FFFFFF
##4037151.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3612
Deuteranopia (green-blind)
#3F3917
Tritanopia (blue-blind)
#45332F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403715;
/* rgb */ color: rgb(64, 55, 21);
/* oklch */ color: oklch(33.8% 0.052 94.6);
Tailwind
colors: {
  custom: {
    50: '#766d54',
    500: '#403715',
    950: '#000000',
  },
}
SCSS
$custom: #403715;
$custom-light: #766d54;
$custom-dark: #000000;
JSON
{
  "hex": "#403715",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 21
  },
  "hsl": {
    "h": 47.442,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.05203,
    "h": 94.6
  },
  "luminance": 0.03877
}

Semantic roles & 50–950 ramp

primary
#403715
secondary
#394678
accent
#6BDA4E
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403715

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

Preview Lab → · Contrast checker → · Palette generator →

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