#403A11#403A11

#403A11 is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.5% C 0.059 H 101.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#403A11
RGBrgb(64, 58, 17)
HSLhsl(52, 58%, 16%)
HSVhsv(52, 73%, 25%)
CMYKcmyk(0%, 9.4%, 73.4%, 74.9%)
CIE-LABlab(24.18, -3.31, 25.58)
CIE-LCHlch(24.18, 25.79, 97.37°)
OKLaboklab(34.53% -0.0112 0.058)
OKLCHoklch(34.53% 0.059 101)
XYZxyz(3.7287, 4.1567, 1.1361)
Luminance0.0416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A11 #111740
analogous
#402211 #403A11 #2E4011
triadic
#403A11 #11403A #3A1140
tetradic
#403A11 #114022 #111740 #40112E
square
#403A11 #114022 #111740 #40112E
split-complementary
#403A11 #112E40 #221140
monochromatic
#181606 #181606 #403A11 #70661E #A1922B

Accessibility & contrast

On white

11.47
#403A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A11
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A11#FFFFFF#000000##FFFFFF
##403A111.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380C
Deuteranopia (green-blind)
#423B13
Tritanopia (blue-blind)
#453531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a11;
/* rgb */ color: rgb(64, 58, 17);
/* oklch */ color: oklch(34.5% 0.059 101.0);
Tailwind
colors: {
  custom: {
    50: '#776f51',
    500: '#403a11',
    950: '#000000',
  },
}
SCSS
$custom: #403a11;
$custom-light: #776f51;
$custom-dark: #000000;
JSON
{
  "hex": "#403a11",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 17
  },
  "hsl": {
    "h": 52.34,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34528,
    "c": 0.0591,
    "h": 101
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#403A11
secondary
#333C79
accent
#5AE147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A11

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

Preview Lab → · Contrast checker → · Palette generator →

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