#403B09#403B09

#403B09 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.067 H 103.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#403B09
RGBrgb(64, 59, 9)
HSLhsl(55, 75%, 14%)
HSVhsv(55, 86%, 25%)
CMYKcmyk(0%, 7.8%, 85.9%, 74.9%)
CIE-LABlab(24.44, -4.44, 29.56)
CIE-LCHlch(24.44, 29.89, 98.55°)
OKLaboklab(34.71% -0.0155 0.0648)
OKLCHoklch(34.71% 0.067 103.4)
XYZxyz(3.7278, 4.2378, 0.8800)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B09 #090E40
analogous
#402009 #403B09 #2A4009
triadic
#403B09 #09403B #3B0940
tetradic
#403B09 #094020 #090E40 #40092A
square
#403B09 #094020 #090E40 #40092A
split-complementary
#403B09 #092A40 #200940
monochromatic
#1B1904 #1B1904 #403B09 #766C11 #AB9E18

Accessibility & contrast

On white

11.37
#403B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B09
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B09#FFFFFF#000000##FFFFFF
##403B091.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413902
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#463632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b09;
/* rgb */ color: rgb(64, 59, 9);
/* oklch */ color: oklch(34.7% 0.067 103.4);
Tailwind
colors: {
  custom: {
    50: '#77704d',
    500: '#403b09',
    950: '#000000',
  },
}
SCSS
$custom: #403b09;
$custom-light: #77704d;
$custom-dark: #000000;
JSON
{
  "hex": "#403b09",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 9
  },
  "hsl": {
    "h": 54.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34713,
    "c": 0.06663,
    "h": 103.4
  },
  "luminance": 0.04238
}

Semantic roles & 50–950 ramp

primary
#403B09
secondary
#272F7E
accent
#47F236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B09

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

Preview Lab → · Contrast checker → · Palette generator →

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