#403910#403910

#403910 is a dark, muted yellow. Relative luminance 0.041; OKLCH L 34.3% C 0.059 H 99.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#403910
RGBrgb(64, 57, 16)
HSLhsl(51, 60%, 16%)
HSVhsv(51, 75%, 25%)
CMYKcmyk(0%, 10.9%, 75%, 74.9%)
CIE-LABlab(23.85, -2.75, 25.74)
CIE-LCHlch(23.85, 25.89, 96.09°)
OKLaboklab(34.26% -0.0098 0.0582)
OKLCHoklch(34.26% 0.059 99.5)
XYZxyz(3.6712, 4.0538, 1.0792)
Luminance0.0405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403910 #101740
analogous
#402110 #403910 #2F4010
triadic
#403910 #104039 #391040
tetradic
#403910 #104021 #101740 #40102F
square
#403910 #104021 #101740 #40102F
split-complementary
#403910 #102F40 #211040
monochromatic
#181606 #181606 #403910 #71651C #A29028

Accessibility & contrast

On white

11.60
#403910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403910
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403910#FFFFFF#000000##FFFFFF
##4039101.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370B
Deuteranopia (green-blind)
#413A12
Tritanopia (blue-blind)
#453430
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403910;
/* rgb */ color: rgb(64, 57, 16);
/* oklch */ color: oklch(34.3% 0.059 99.5);
Tailwind
colors: {
  custom: {
    50: '#776f50',
    500: '#403910',
    950: '#000000',
  },
}
SCSS
$custom: #403910;
$custom-light: #776f50;
$custom-dark: #000000;
JSON
{
  "hex": "#403910",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 16
  },
  "hsl": {
    "h": 51.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34259,
    "c": 0.05899,
    "h": 99.5
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#403910
secondary
#323C7A
accent
#5CE345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403910

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

Preview Lab → · Contrast checker → · Palette generator →

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