#403F0A#403F0A

#403F0A is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.8% C 0.070 H 108.4°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#403F0A
RGBrgb(64, 63, 10)
HSLhsl(59, 73%, 15%)
HSVhsv(59, 84%, 25%)
CMYKcmyk(0%, 1.6%, 84.4%, 74.9%)
CIE-LABlab(25.76, -6.87, 30.40)
CIE-LCHlch(25.76, 31.17, 102.74°)
OKLaboklab(35.77% -0.0222 0.0668)
OKLCHoklch(35.77% 0.07 108.4)
XYZxyz(3.9468, 4.6670, 0.9800)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F0A #0A0B40
analogous
#40240A #403F0A #26400A
triadic
#403F0A #0A403F #3F0A40
tetradic
#403F0A #0A4024 #0A0B40 #400A26
square
#403F0A #0A4024 #0A0B40 #400A26
split-complementary
#403F0A #0A2640 #240A40
monochromatic
#1A1A04 #1A1A04 #403F0A #757312 #AAA71B

Accessibility & contrast

On white

10.86
#403F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F0A
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F0A#FFFFFF#000000##FFFFFF
##403F0A1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#463E0E
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f0a;
/* rgb */ color: rgb(64, 63, 10);
/* oklch */ color: oklch(35.8% 0.070 108.4);
Tailwind
colors: {
  custom: {
    50: '#77734e',
    500: '#403f0a',
    950: '#000000',
  },
}
SCSS
$custom: #403f0a;
$custom-light: #77734e;
$custom-dark: #000000;
JSON
{
  "hex": "#403f0a",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 58.889,
    "s": 72.973,
    "l": 14.51
  },
  "oklch": {
    "l": 0.35768,
    "c": 0.07036,
    "h": 108.4
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#403F0A
secondary
#292A7D
accent
#3CF038
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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