#403507#403507

#403507 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.2% C 0.063 H 94.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#403507
RGBrgb(64, 53, 7)
HSLhsl(48, 80%, 14%)
HSVhsv(48, 89%, 25%)
CMYKcmyk(0%, 17.2%, 89.1%, 74.9%)
CIE-LABlab(22.48, -0.72, 28.39)
CIE-LCHlch(22.48, 28.40, 91.45°)
OKLaboklab(33.16% -0.0052 0.0624)
OKLCHoklch(33.16% 0.063 94.8)
XYZxyz(3.4260, 3.6517, 0.7254)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403507 #071240
analogous
#401907 #403507 #2F4007
triadic
#403507 #074035 #350740
tetradic
#403507 #074019 #071240 #40072F
square
#403507 #074019 #071240 #40072F
split-complementary
#403507 #072F40 #190740
monochromatic
#1C1703 #1C1703 #403507 #77630D #AE9013

Accessibility & contrast

On white

12.14
#403507 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#403507 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403507
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403507#FFFFFF#000000##FFFFFF
##4035071.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3F370A
Tritanopia (blue-blind)
#46302C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403507;
/* rgb */ color: rgb(64, 53, 7);
/* oklch */ color: oklch(33.2% 0.063 94.8);
Tailwind
colors: {
  custom: {
    50: '#776b4b',
    500: '#403507',
    950: '#000000',
  },
}
SCSS
$custom: #403507;
$custom-light: #776b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403507",
  "rgb": {
    "r": 64,
    "g": 53,
    "b": 7
  },
  "hsl": {
    "h": 48.421,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33155,
    "c": 0.06262,
    "h": 94.8
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#403507
secondary
#24357F
accent
#57F731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403507

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

Preview Lab → · Contrast checker → · Palette generator →

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