#403D15#403D15

#403D15 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.4% C 0.059 H 105.0°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#403D15
RGBrgb(64, 61, 21)
HSLhsl(56, 51%, 17%)
HSVhsv(56, 67%, 25%)
CMYKcmyk(0%, 4.7%, 67.2%, 74.9%)
CIE-LABlab(25.20, -4.87, 24.55)
CIE-LCHlch(25.20, 25.03, 101.23°)
OKLaboklab(35.35% -0.0151 0.0565)
OKLCHoklch(35.35% 0.059 105)
XYZxyz(3.9186, 4.4818, 1.3680)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D15 #151840
analogous
#402815 #403D15 #2E4015
triadic
#403D15 #15403D #3D1540
tetradic
#403D15 #154028 #151840 #40152E
square
#403D15 #154028 #151840 #40152E
split-complementary
#403D15 #152E40 #281540
monochromatic
#171608 #171608 #403D15 #6E6924 #9C9533

Accessibility & contrast

On white

11.07
#403D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D15
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D15#FFFFFF#000000##FFFFFF
##403D151.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B11
Deuteranopia (green-blind)
#443D17
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d15;
/* rgb */ color: rgb(64, 61, 21);
/* oklch */ color: oklch(35.4% 0.059 105.0);
Tailwind
colors: {
  custom: {
    50: '#767254',
    500: '#403d15',
    950: '#000000',
  },
}
SCSS
$custom: #403d15;
$custom-light: #767254;
$custom-dark: #000000;
JSON
{
  "hex": "#403d15",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 21
  },
  "hsl": {
    "h": 55.814,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35353,
    "c": 0.05851,
    "h": 105
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#403D15
secondary
#393D78
accent
#58DA4E
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090703
muted
#7B7A78

Preview Lab

Preview with #403D15

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

Preview Lab → · Contrast checker → · Palette generator →

#403D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva