#403E0A#403E0A

#403E0A is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.5% C 0.069 H 107.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#403E0A
RGBrgb(64, 62, 10)
HSLhsl(58, 73%, 15%)
HSVhsv(58, 84%, 25%)
CMYKcmyk(0%, 3.1%, 84.4%, 74.9%)
CIE-LABlab(25.43, -6.26, 30.10)
CIE-LCHlch(25.43, 30.74, 101.75°)
OKLaboklab(35.5% -0.0205 0.0661)
OKLCHoklch(35.5% 0.069 107.2)
XYZxyz(3.8919, 4.5573, 0.9617)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E0A #0A0C40
analogous
#40230A #403E0A #27400A
triadic
#403E0A #0A403E #3E0A40
tetradic
#403E0A #0A4023 #0A0C40 #400A27
square
#403E0A #0A4023 #0A0C40 #400A27
split-complementary
#403E0A #0A2740 #230A40
monochromatic
#1A1A04 #1A1A04 #403E0A #757112 #AAA51B

Accessibility & contrast

On white

10.99
#403E0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403E0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E0A
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E0A#FFFFFF#000000##FFFFFF
##403E0A1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B02
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e0a;
/* rgb */ color: rgb(64, 62, 10);
/* oklch */ color: oklch(35.5% 0.069 107.2);
Tailwind
colors: {
  custom: {
    50: '#77734e',
    500: '#403e0a',
    950: '#000000',
  },
}
SCSS
$custom: #403e0a;
$custom-light: #77734e;
$custom-dark: #000000;
JSON
{
  "hex": "#403e0a",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 10
  },
  "hsl": {
    "h": 57.778,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35505,
    "c": 0.06921,
    "h": 107.2
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#403E0A
secondary
#292C7D
accent
#3FF038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E0A

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

Preview Lab → · Contrast checker → · Palette generator →

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