#403B10#403B10

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

Color values

HEX#403B10
RGBrgb(64, 59, 16)
HSLhsl(54, 60%, 16%)
HSVhsv(54, 75%, 25%)
CMYKcmyk(0%, 7.8%, 75%, 74.9%)
CIE-LABlab(24.50, -4.02, 26.42)
CIE-LCHlch(24.50, 26.73, 98.64°)
OKLaboklab(34.78% -0.0134 0.0596)
OKLCHoklch(34.78% 0.061 102.6)
XYZxyz(3.7720, 4.2555, 1.1128)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B10 #101540
analogous
#402310 #403B10 #2D4010
triadic
#403B10 #10403B #3B1040
tetradic
#403B10 #104023 #101540 #40102D
square
#403B10 #104023 #101540 #40102D
split-complementary
#403B10 #102D40 #231040
monochromatic
#181706 #181706 #403B10 #71681C #A29528

Accessibility & contrast

On white

11.35
#403B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B10
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B10#FFFFFF#000000##FFFFFF
##403B101.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403b10;
/* rgb */ color: rgb(64, 59, 16);
/* oklch */ color: oklch(34.8% 0.061 102.6);
Tailwind
colors: {
  custom: {
    50: '#777051',
    500: '#403b10',
    950: '#000000',
  },
}
SCSS
$custom: #403b10;
$custom-light: #777051;
$custom-dark: #000000;
JSON
{
  "hex": "#403b10",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 16
  },
  "hsl": {
    "h": 53.75,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34775,
    "c": 0.0611,
    "h": 102.6
  },
  "luminance": 0.04255
}

Semantic roles & 50–950 ramp

primary
#403B10
secondary
#32397A
accent
#55E345
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B10

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

Preview Lab → · Contrast checker → · Palette generator →

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