#403C11#403C11

#403C11 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.061 H 104.0°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#403C11
RGBrgb(64, 60, 17)
HSLhsl(55, 58%, 16%)
HSVhsv(55, 73%, 25%)
CMYKcmyk(0%, 6.2%, 73.4%, 74.9%)
CIE-LABlab(24.83, -4.57, 26.27)
CIE-LCHlch(24.83, 26.66, 99.87°)
OKLaboklab(35.05% -0.0148 0.0595)
OKLCHoklch(35.05% 0.061 104)
XYZxyz(3.8315, 4.3623, 1.1704)
Luminance0.0436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C11 #111540
analogous
#402411 #403C11 #2C4011
triadic
#403C11 #11403C #3C1140
tetradic
#403C11 #114024 #111540 #40112C
square
#403C11 #114024 #111540 #40112C
split-complementary
#403C11 #112C40 #241140
monochromatic
#181706 #181706 #403C11 #70691E #A1972B

Accessibility & contrast

On white

11.22
#403C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C11
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C11#FFFFFF#000000##FFFFFF
##403C111.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#453733
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c11;
/* rgb */ color: rgb(64, 60, 17);
/* oklch */ color: oklch(35.0% 0.061 104.0);
Tailwind
colors: {
  custom: {
    50: '#777151',
    500: '#403c11',
    950: '#000000',
  },
}
SCSS
$custom: #403c11;
$custom-light: #777151;
$custom-dark: #000000;
JSON
{
  "hex": "#403c11",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 17
  },
  "hsl": {
    "h": 54.894,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35045,
    "c": 0.0613,
    "h": 104
  },
  "luminance": 0.04362
}

Semantic roles & 50–950 ramp

primary
#403C11
secondary
#333979
accent
#54E147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C11

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

Preview Lab → · Contrast checker → · Palette generator →

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