#403B11#403B11

#403B11 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.060 H 102.5°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#403B11
RGBrgb(64, 59, 17)
HSLhsl(54, 58%, 16%)
HSVhsv(54, 73%, 25%)
CMYKcmyk(0%, 7.8%, 73.4%, 74.9%)
CIE-LABlab(24.51, -3.94, 25.92)
CIE-LCHlch(24.51, 26.22, 98.65°)
OKLaboklab(34.79% -0.013 0.0588)
OKLCHoklch(34.79% 0.06 102.5)
XYZxyz(3.7796, 4.2585, 1.1531)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B11 #111640
analogous
#402311 #403B11 #2D4011
triadic
#403B11 #11403B #3B1140
tetradic
#403B11 #114023 #111640 #40112D
square
#403B11 #114023 #111640 #40112D
split-complementary
#403B11 #112D40 #231140
monochromatic
#181606 #181606 #403B11 #70681E #A1942B

Accessibility & contrast

On white

11.34
#403B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B11
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B11#FFFFFF#000000##FFFFFF
##403B111.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390C
Deuteranopia (green-blind)
#423B13
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b11;
/* rgb */ color: rgb(64, 59, 17);
/* oklch */ color: oklch(34.8% 0.060 102.5);
Tailwind
colors: {
  custom: {
    50: '#777051',
    500: '#403b11',
    950: '#000000',
  },
}
SCSS
$custom: #403b11;
$custom-light: #777051;
$custom-dark: #000000;
JSON
{
  "hex": "#403b11",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 17
  },
  "hsl": {
    "h": 53.617,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34786,
    "c": 0.06018,
    "h": 102.5
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#403B11
secondary
#333B79
accent
#57E147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B11

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

Preview Lab → · Contrast checker → · Palette generator →

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