#403305#403305

#403305 is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.6% C 0.063 H 91.9°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#403305
RGBrgb(64, 51, 5)
HSLhsl(47, 86%, 14%)
HSVhsv(47, 92%, 25%)
CMYKcmyk(0%, 20.3%, 92.2%, 74.9%)
CIE-LABlab(21.83, 0.47, 28.52)
CIE-LCHlch(21.83, 28.52, 89.05°)
OKLaboklab(32.63% -0.0021 0.0627)
OKLCHoklch(32.63% 0.063 91.9)
XYZxyz(3.3258, 3.4688, 0.6379)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403305 #051240
analogous
#401505 #403305 #2F4005
triadic
#403305 #054033 #330540
tetradic
#403305 #054015 #051240 #40052F
square
#403305 #054015 #051240 #40052F
split-complementary
#403305 #052F40 #150540
monochromatic
#1C1702 #1C1702 #403305 #796009 #B28D0E

Accessibility & contrast

On white

12.40
#403305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#403305 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403305
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403305#FFFFFF#000000##FFFFFF
##4033051.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3D3608
Tritanopia (blue-blind)
#462E2A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #403305;
/* rgb */ color: rgb(64, 51, 5);
/* oklch */ color: oklch(32.6% 0.063 91.9);
Tailwind
colors: {
  custom: {
    50: '#786a4a',
    500: '#403305',
    950: '#000000',
  },
}
SCSS
$custom: #403305;
$custom-light: #786a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403305",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 46.78,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32634,
    "c": 0.06273,
    "h": 91.9
  },
  "luminance": 0.03469
}

Semantic roles & 50–950 ramp

primary
#403305
secondary
#203581
accent
#5AFC2C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403305

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

Preview Lab → · Contrast checker → · Palette generator →

#403305 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva