#403B15#403B15

#403B15 is a dark, muted yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.056 H 101.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#403B15
RGBrgb(64, 59, 21)
HSLhsl(53, 51%, 17%)
HSVhsv(53, 67%, 25%)
CMYKcmyk(0%, 7.8%, 67.2%, 74.9%)
CIE-LABlab(24.55, -3.62, 23.82)
CIE-LCHlch(24.55, 24.09, 98.63°)
OKLaboklab(34.83% -0.0115 0.055)
OKLCHoklch(34.83% 0.056 101.9)
XYZxyz(3.8138, 4.2722, 1.3330)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B15 #151A40
analogous
#402615 #403B15 #304015
triadic
#403B15 #15403B #3B1540
tetradic
#403B15 #154026 #151A40 #401530
square
#403B15 #154026 #151A40 #401530
split-complementary
#403B15 #153040 #261540
monochromatic
#171508 #171508 #403B15 #6E6524 #9C9033

Accessibility & contrast

On white

11.32
#403B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B15
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B15#FFFFFF#000000##FFFFFF
##403B151.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413911
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#453733
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b15;
/* rgb */ color: rgb(64, 59, 21);
/* oklch */ color: oklch(34.8% 0.056 101.9);
Tailwind
colors: {
  custom: {
    50: '#767054',
    500: '#403b15',
    950: '#000000',
  },
}
SCSS
$custom: #403b15;
$custom-light: #767054;
$custom-dark: #000000;
JSON
{
  "hex": "#403b15",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 21
  },
  "hsl": {
    "h": 53.023,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.05617,
    "h": 101.9
  },
  "luminance": 0.04272
}

Semantic roles & 50–950 ramp

primary
#403B15
secondary
#394078
accent
#5EDA4E
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090703
muted
#7B7A78

Preview Lab

Preview with #403B15

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

Preview Lab → · Contrast checker → · Palette generator →

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