#403D0E#403D0E

#403D0E is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.065 H 105.7°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#403D0E
RGBrgb(64, 61, 14)
HSLhsl(56, 64%, 15%)
HSVhsv(56, 78%, 25%)
CMYKcmyk(0%, 4.7%, 78.1%, 74.9%)
CIE-LABlab(25.14, -5.41, 28.05)
CIE-LCHlch(25.14, 28.56, 100.91°)
OKLaboklab(35.28% -0.0176 0.0627)
OKLCHoklch(35.28% 0.065 105.7)
XYZxyz(3.8625, 4.4593, 1.0727)
Luminance0.0446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D0E #0E1140
analogous
#40240E #403D0E #2A400E
triadic
#403D0E #0E403D #3D0E40
tetradic
#403D0E #0E4024 #0E1140 #400E2A
square
#403D0E #0E4024 #0E1140 #400E2A
split-complementary
#403D0E #0E2A40 #240E40
monochromatic
#191805 #191805 #403D0E #726D19 #A49D24

Accessibility & contrast

On white

11.10
#403D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403D0E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D0E#FFFFFF#000000##FFFFFF
##403D0E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A07
Deuteranopia (green-blind)
#443D11
Tritanopia (blue-blind)
#453834
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d0e;
/* rgb */ color: rgb(64, 61, 14);
/* oklch */ color: oklch(35.3% 0.065 105.7);
Tailwind
colors: {
  custom: {
    50: '#777250',
    500: '#403d0e',
    950: '#000000',
  },
}
SCSS
$custom: #403d0e;
$custom-light: #777250;
$custom-dark: #000000;
JSON
{
  "hex": "#403d0e",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 14
  },
  "hsl": {
    "h": 56.4,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.35276,
    "c": 0.06507,
    "h": 105.7
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#403D0E
secondary
#2F337B
accent
#4BE741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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