#403807#403807

#403807 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.9% C 0.065 H 99.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#403807
RGBrgb(64, 56, 7)
HSLhsl(52, 80%, 14%)
HSVhsv(52, 89%, 25%)
CMYKcmyk(0%, 12.5%, 89.1%, 74.9%)
CIE-LABlab(23.45, -2.65, 29.39)
CIE-LCHlch(23.45, 29.50, 95.15°)
OKLaboklab(33.92% -0.0107 0.0643)
OKLCHoklch(33.92% 0.065 99.4)
XYZxyz(3.5671, 3.9339, 0.7724)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403807 #070F40
analogous
#401C07 #403807 #2C4007
triadic
#403807 #074038 #380740
tetradic
#403807 #07401C #070F40 #40072C
square
#403807 #07401C #070F40 #40072C
split-complementary
#403807 #072C40 #1C0740
monochromatic
#1C1803 #1C1803 #403807 #77680D #AE9913

Accessibility & contrast

On white

11.75
#403807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403807
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403807#FFFFFF#000000##FFFFFF
##4038071.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#41390A
Tritanopia (blue-blind)
#46332F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403807;
/* rgb */ color: rgb(64, 56, 7);
/* oklch */ color: oklch(33.9% 0.065 99.4);
Tailwind
colors: {
  custom: {
    50: '#776e4b',
    500: '#403807',
    950: '#000000',
  },
}
SCSS
$custom: #403807;
$custom-light: #776e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403807",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 51.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33921,
    "c": 0.06515,
    "h": 99.4
  },
  "luminance": 0.03934
}

Semantic roles & 50–950 ramp

primary
#403807
secondary
#24307F
accent
#4DF731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403807

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

Preview Lab → · Contrast checker → · Palette generator →

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