#403C15#403C15

#403C15 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.1% C 0.057 H 103.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#403C15
RGBrgb(64, 60, 21)
HSLhsl(54, 51%, 17%)
HSVhsv(54, 67%, 25%)
CMYKcmyk(0%, 6.2%, 67.2%, 74.9%)
CIE-LABlab(24.88, -4.25, 24.18)
CIE-LCHlch(24.88, 24.55, 99.96°)
OKLaboklab(35.09% -0.0133 0.0558)
OKLCHoklch(35.09% 0.057 103.5)
XYZxyz(3.8657, 4.3760, 1.3503)
Luminance0.0438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C15 #151940
analogous
#402715 #403C15 #2F4015
triadic
#403C15 #15403C #3C1540
tetradic
#403C15 #154027 #151940 #40152F
square
#403C15 #154027 #151940 #40152F
split-complementary
#403C15 #152F40 #271540
monochromatic
#171608 #171608 #403C15 #6E6724 #9C9233

Accessibility & contrast

On white

11.20
#403C15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#403C15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C15
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C15#FFFFFF#000000##FFFFFF
##403C151.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A11
Deuteranopia (green-blind)
#433C17
Tritanopia (blue-blind)
#453834
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c15;
/* rgb */ color: rgb(64, 60, 21);
/* oklch */ color: oklch(35.1% 0.057 103.5);
Tailwind
colors: {
  custom: {
    50: '#767154',
    500: '#403c15',
    950: '#000000',
  },
}
SCSS
$custom: #403c15;
$custom-light: #767154;
$custom-dark: #000000;
JSON
{
  "hex": "#403c15",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 21
  },
  "hsl": {
    "h": 54.419,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35093,
    "c": 0.05733,
    "h": 103.5
  },
  "luminance": 0.04376
}

Semantic roles & 50–950 ramp

primary
#403C15
secondary
#393F78
accent
#5BDA4E
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090703
muted
#7B7A78

Preview Lab

Preview with #403C15

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

Preview Lab → · Contrast checker → · Palette generator →

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