#403D09#403D09

#403D09 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.2% C 0.069 H 106.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#403D09
RGBrgb(64, 61, 9)
HSLhsl(57, 75%, 14%)
HSVhsv(57, 86%, 25%)
CMYKcmyk(0%, 4.7%, 85.9%, 74.9%)
CIE-LABlab(25.10, -5.69, 30.19)
CIE-LCHlch(25.10, 30.72, 100.68°)
OKLaboklab(35.24% -0.019 0.0661)
OKLCHoklch(35.24% 0.069 106)
XYZxyz(3.8326, 4.4473, 0.9149)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D09 #090C40
analogous
#402209 #403D09 #284009
triadic
#403D09 #09403D #3D0940
tetradic
#403D09 #094022 #090C40 #400928
square
#403D09 #094022 #090C40 #400928
split-complementary
#403D09 #092840 #220940
monochromatic
#1B1A04 #1B1A04 #403D09 #767011 #ABA318

Accessibility & contrast

On white

11.11
#403D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D09
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D09#FFFFFF#000000##FFFFFF
##403D091.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A01
Deuteranopia (green-blind)
#443C0D
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d09;
/* rgb */ color: rgb(64, 61, 9);
/* oklch */ color: oklch(35.2% 0.069 106.0);
Tailwind
colors: {
  custom: {
    50: '#77724d',
    500: '#403d09',
    950: '#000000',
  },
}
SCSS
$custom: #403d09;
$custom-light: #77724d;
$custom-dark: #000000;
JSON
{
  "hex": "#403d09",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 9
  },
  "hsl": {
    "h": 56.727,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35235,
    "c": 0.06877,
    "h": 106
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#403D09
secondary
#272C7E
accent
#40F236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403D09

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

Preview Lab → · Contrast checker → · Palette generator →

#403D09 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva