#403810#403810

#403810 is a dark, muted yellow. Relative luminance 0.040; OKLCH L 34.0% C 0.058 H 97.9°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#403810
RGBrgb(64, 56, 16)
HSLhsl(50, 60%, 16%)
HSVhsv(50, 75%, 25%)
CMYKcmyk(0%, 12.5%, 75%, 74.9%)
CIE-LABlab(23.53, -2.11, 25.40)
CIE-LCHlch(23.53, 25.49, 94.74°)
OKLaboklab(34% -0.0079 0.0575)
OKLCHoklch(34% 0.058 97.9)
XYZxyz(3.6222, 3.9559, 1.0629)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403810 #101840
analogous
#402010 #403810 #304010
triadic
#403810 #104038 #381040
tetradic
#403810 #104020 #101840 #401030
square
#403810 #104020 #101840 #401030
split-complementary
#403810 #103040 #201040
monochromatic
#181506 #181506 #403810 #71631C #A28E28

Accessibility & contrast

On white

11.72
#403810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403810
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403810#FFFFFF#000000##FFFFFF
##4038101.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E360B
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#463330
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403810;
/* rgb */ color: rgb(64, 56, 16);
/* oklch */ color: oklch(34.0% 0.058 97.9);
Tailwind
colors: {
  custom: {
    50: '#776e50',
    500: '#403810',
    950: '#000000',
  },
}
SCSS
$custom: #403810;
$custom-light: #776e50;
$custom-dark: #000000;
JSON
{
  "hex": "#403810",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 16
  },
  "hsl": {
    "h": 50,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34003,
    "c": 0.05801,
    "h": 97.9
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#403810
secondary
#323E7A
accent
#5FE345
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403810

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

Preview Lab → · Contrast checker → · Palette generator →

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