#403E0D#403E0D

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

Color values

HEX#403E0D
RGBrgb(64, 62, 13)
HSLhsl(58, 66%, 15%)
HSVhsv(58, 80%, 25%)
CMYKcmyk(0%, 3.1%, 79.7%, 74.9%)
CIE-LABlab(25.46, -6.09, 28.83)
CIE-LCHlch(25.46, 29.46, 101.93°)
OKLaboklab(35.53% -0.0196 0.0641)
OKLCHoklch(35.53% 0.067 107)
XYZxyz(3.9098, 4.5644, 1.0558)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E0D #0D0F40
analogous
#40240D #403E0D #28400D
triadic
#403E0D #0D403E #3E0D40
tetradic
#403E0D #0D4024 #0D0F40 #400D28
square
#403E0D #0D4024 #0D0F40 #400D28
split-complementary
#403E0D #0D2840 #240D40
monochromatic
#191905 #191905 #403E0D #736F17 #A6A122

Accessibility & contrast

On white

10.98
#403E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E0D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E0D#FFFFFF#000000##FFFFFF
##403E0D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403e0d;
/* rgb */ color: rgb(64, 62, 13);
/* oklch */ color: oklch(35.5% 0.067 107.0);
Tailwind
colors: {
  custom: {
    50: '#77734f',
    500: '#403e0d',
    950: '#000000',
  },
}
SCSS
$custom: #403e0d;
$custom-light: #77734f;
$custom-dark: #000000;
JSON
{
  "hex": "#403e0d",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 13
  },
  "hsl": {
    "h": 57.647,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35529,
    "c": 0.06703,
    "h": 107
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#403E0D
secondary
#2D307C
accent
#45E93F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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