#403407#403407

#403407 is a dark, moderate yellow. Relative luminance 0.036; OKLCH L 32.9% C 0.062 H 93.1°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#403407
RGBrgb(64, 52, 7)
HSLhsl(47, 80%, 14%)
HSVhsv(47, 89%, 25%)
CMYKcmyk(0%, 18.8%, 89.1%, 74.9%)
CIE-LABlab(22.17, -0.07, 28.06)
CIE-LCHlch(22.17, 28.06, 90.14°)
OKLaboklab(32.9% -0.0034 0.0618)
OKLCHoklch(32.9% 0.062 93.1)
XYZxyz(3.3809, 3.5615, 0.7103)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403407 #071340
analogous
#401807 #403407 #304007
triadic
#403407 #074034 #340740
tetradic
#403407 #074018 #071340 #400730
square
#403407 #074018 #071340 #400730
split-complementary
#403407 #073040 #180740
monochromatic
#1C1603 #1C1603 #403407 #77610D #AE8E13

Accessibility & contrast

On white

12.26
#403407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#403407 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403407
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403407#FFFFFF#000000##FFFFFF
##4034071.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3301
Deuteranopia (green-blind)
#3E370A
Tritanopia (blue-blind)
#462F2B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #403407;
/* rgb */ color: rgb(64, 52, 7);
/* oklch */ color: oklch(32.9% 0.062 93.1);
Tailwind
colors: {
  custom: {
    50: '#776b4b',
    500: '#403407',
    950: '#000000',
  },
}
SCSS
$custom: #403407;
$custom-light: #776b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403407",
  "rgb": {
    "r": 64,
    "g": 52,
    "b": 7
  },
  "hsl": {
    "h": 47.368,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.06187,
    "h": 93.1
  },
  "luminance": 0.03561
}

Semantic roles & 50–950 ramp

primary
#403407
secondary
#24377F
accent
#5BF731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403407

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

Preview Lab → · Contrast checker → · Palette generator →

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