#403909#403909

#403909 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.2% C 0.065 H 100.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#403909
RGBrgb(64, 57, 9)
HSLhsl(52, 75%, 14%)
HSVhsv(52, 86%, 25%)
CMYKcmyk(0%, 10.9%, 85.9%, 74.9%)
CIE-LABlab(23.79, -3.18, 28.91)
CIE-LCHlch(23.79, 29.09, 96.27°)
OKLaboklab(34.19% -0.0119 0.0635)
OKLCHoklch(34.19% 0.065 100.6)
XYZxyz(3.6270, 4.0361, 0.8464)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403909 #091040
analogous
#401E09 #403909 #2C4009
triadic
#403909 #094039 #390940
tetradic
#403909 #09401E #091040 #40092C
square
#403909 #09401E #091040 #40092C
split-complementary
#403909 #092C40 #1E0940
monochromatic
#1B1804 #1B1804 #403909 #766911 #AB9918

Accessibility & contrast

On white

11.62
#403909 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#403909 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403909
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403909#FFFFFF#000000##FFFFFF
##4039091.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3702
Deuteranopia (green-blind)
#413A0C
Tritanopia (blue-blind)
#463430
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403909;
/* rgb */ color: rgb(64, 57, 9);
/* oklch */ color: oklch(34.2% 0.065 100.6);
Tailwind
colors: {
  custom: {
    50: '#776f4d',
    500: '#403909',
    950: '#000000',
  },
}
SCSS
$custom: #403909;
$custom-light: #776f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#403909",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 9
  },
  "hsl": {
    "h": 52.364,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34194,
    "c": 0.06463,
    "h": 100.6
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#403909
secondary
#27327E
accent
#4EF236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403909

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

Preview Lab → · Contrast checker → · Palette generator →

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