#403E1A#403E1A

#403E1A is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.7% C 0.054 H 106.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#403E1A
RGBrgb(64, 62, 26)
HSLhsl(57, 42%, 18%)
HSVhsv(57, 59%, 25%)
CMYKcmyk(0%, 3.1%, 59.4%, 74.9%)
CIE-LABlab(25.59, -5.02, 22.17)
CIE-LCHlch(25.59, 22.73, 102.77°)
OKLaboklab(35.68% -0.0149 0.0521)
OKLCHoklch(35.68% 0.054 106)
XYZxyz(4.0235, 4.6099, 1.6549)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E1A #1A1C40
analogous
#402B1A #403E1A #2F401A
triadic
#403E1A #1A403E #3E1A40
tetradic
#403E1A #1A402B #1A1C40 #401A2F
square
#403E1A #1A402B #1A1C40 #401A2F
split-complementary
#403E1A #1A2F40 #2B1A40
monochromatic
#161509 #161509 #403E1A #6C682C #97923D

Accessibility & contrast

On white

10.93
#403E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403E1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E1A
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E1A#FFFFFF#000000##FFFFFF
##403E1A1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C17
Deuteranopia (green-blind)
#443D1C
Tritanopia (blue-blind)
#453A36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e1a;
/* rgb */ color: rgb(64, 62, 26);
/* oklch */ color: oklch(35.7% 0.054 106.0);
Tailwind
colors: {
  custom: {
    50: '#767358',
    500: '#403e1a',
    950: '#000000',
  },
}
SCSS
$custom: #403e1a;
$custom-light: #767358;
$custom-dark: #000000;
JSON
{
  "hex": "#403e1a",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 26
  },
  "hsl": {
    "h": 56.842,
    "s": 42.222,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35682,
    "c": 0.0542,
    "h": 106
  },
  "luminance": 0.0461
}

Semantic roles & 50–950 ramp

primary
#403E1A
secondary
#404376
accent
#5CD256
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #403E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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