#403A09#403A09

#403A09 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.5% C 0.066 H 102.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#403A09
RGBrgb(64, 58, 9)
HSLhsl(53, 75%, 14%)
HSVhsv(53, 86%, 25%)
CMYKcmyk(0%, 9.4%, 85.9%, 74.9%)
CIE-LABlab(24.12, -3.81, 29.24)
CIE-LCHlch(24.12, 29.48, 97.43°)
OKLaboklab(34.45% -0.0137 0.0642)
OKLCHoklch(34.45% 0.066 102)
XYZxyz(3.6769, 4.1360, 0.8630)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A09 #090F40
analogous
#401F09 #403A09 #2B4009
triadic
#403A09 #09403A #3A0940
tetradic
#403A09 #09401F #090F40 #40092B
square
#403A09 #09401F #090F40 #40092B
split-complementary
#403A09 #092B40 #1F0940
monochromatic
#1B1804 #1B1804 #403A09 #766B11 #AB9B18

Accessibility & contrast

On white

11.49
#403A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A09
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A09#FFFFFF#000000##FFFFFF
##403A091.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403802
Deuteranopia (green-blind)
#423A0D
Tritanopia (blue-blind)
#463531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a09;
/* rgb */ color: rgb(64, 58, 9);
/* oklch */ color: oklch(34.5% 0.066 102.0);
Tailwind
colors: {
  custom: {
    50: '#776f4d',
    500: '#403a09',
    950: '#000000',
  },
}
SCSS
$custom: #403a09;
$custom-light: #776f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#403a09",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 53.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34453,
    "c": 0.0656,
    "h": 102
  },
  "luminance": 0.04136
}

Semantic roles & 50–950 ramp

primary
#403A09
secondary
#27307E
accent
#4AF236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A09

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

Preview Lab → · Contrast checker → · Palette generator →

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