#403A15#403A15

#403A15 is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.6% C 0.055 H 100.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#403A15
RGBrgb(64, 58, 21)
HSLhsl(52, 51%, 17%)
HSVhsv(52, 67%, 25%)
CMYKcmyk(0%, 9.4%, 67.2%, 74.9%)
CIE-LABlab(24.23, -2.98, 23.46)
CIE-LCHlch(24.23, 23.65, 97.24°)
OKLaboklab(34.58% -0.0097 0.0542)
OKLCHoklch(34.58% 0.055 100.2)
XYZxyz(3.7629, 4.1704, 1.3161)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A15 #151B40
analogous
#402515 #403A15 #314015
triadic
#403A15 #15403A #3A1540
tetradic
#403A15 #154025 #151B40 #401531
square
#403A15 #154025 #151B40 #401531
split-complementary
#403A15 #153140 #251540
monochromatic
#171508 #171508 #403A15 #6E6424 #9C8E33

Accessibility & contrast

On white

11.45
#403A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A15
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A15#FFFFFF#000000##FFFFFF
##403A151.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403811
Deuteranopia (green-blind)
#413B17
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a15;
/* rgb */ color: rgb(64, 58, 21);
/* oklch */ color: oklch(34.6% 0.055 100.2);
Tailwind
colors: {
  custom: {
    50: '#766f54',
    500: '#403a15',
    950: '#000000',
  },
}
SCSS
$custom: #403a15;
$custom-light: #766f54;
$custom-dark: #000000;
JSON
{
  "hex": "#403a15",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 21
  },
  "hsl": {
    "h": 51.628,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.05507,
    "h": 100.2
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

primary
#403A15
secondary
#394278
accent
#61DA4E
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A15

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

Preview Lab → · Contrast checker → · Palette generator →

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