#403A0E#403A0E

#403A0E is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.5% C 0.062 H 101.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#403A0E
RGBrgb(64, 58, 14)
HSLhsl(53, 64%, 15%)
HSVhsv(53, 78%, 25%)
CMYKcmyk(0%, 9.4%, 78.1%, 74.9%)
CIE-LABlab(24.15, -3.52, 27.06)
CIE-LCHlch(24.15, 27.29, 97.41°)
OKLaboklab(34.5% -0.0122 0.0606)
OKLCHoklch(34.5% 0.062 101.4)
XYZxyz(3.7068, 4.1480, 1.0208)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A0E #0E1440
analogous
#40210E #403A0E #2D400E
triadic
#403A0E #0E403A #3A0E40
tetradic
#403A0E #0E4021 #0E1440 #400E2D
square
#403A0E #0E4021 #0E1440 #400E2D
split-complementary
#403A0E #0E2D40 #210E40
monochromatic
#191705 #191705 #403A0E #726819 #A49524

Accessibility & contrast

On white

11.48
#403A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A0E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A0E#FFFFFF#000000##FFFFFF
##403A0E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403808
Deuteranopia (green-blind)
#423B11
Tritanopia (blue-blind)
#453531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a0e;
/* rgb */ color: rgb(64, 58, 14);
/* oklch */ color: oklch(34.5% 0.062 101.4);
Tailwind
colors: {
  custom: {
    50: '#776f4f',
    500: '#403a0e',
    950: '#000000',
  },
}
SCSS
$custom: #403a0e;
$custom-light: #776f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#403a0e",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 14
  },
  "hsl": {
    "h": 52.8,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.0618,
    "h": 101.4
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#403A0E
secondary
#2F387B
accent
#55E741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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