#403B0E#403B0E

#403B0E is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.8% C 0.063 H 102.9°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#403B0E
RGBrgb(64, 59, 14)
HSLhsl(54, 64%, 15%)
HSVhsv(54, 78%, 25%)
CMYKcmyk(0%, 7.8%, 78.1%, 74.9%)
CIE-LABlab(24.48, -4.15, 27.39)
CIE-LCHlch(24.48, 27.70, 98.62°)
OKLaboklab(34.76% -0.014 0.0613)
OKLCHoklch(34.76% 0.063 102.9)
XYZxyz(3.7577, 4.2498, 1.0377)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B0E #0E1340
analogous
#40220E #403B0E #2C400E
triadic
#403B0E #0E403B #3B0E40
tetradic
#403B0E #0E4022 #0E1340 #400E2C
square
#403B0E #0E4022 #0E1340 #400E2C
split-complementary
#403B0E #0E2C40 #220E40
monochromatic
#191705 #191705 #403B0E #726919 #A49824

Accessibility & contrast

On white

11.35
#403B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B0E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B0E#FFFFFF#000000##FFFFFF
##403B0E1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413908
Deuteranopia (green-blind)
#433B11
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b0e;
/* rgb */ color: rgb(64, 59, 14);
/* oklch */ color: oklch(34.8% 0.063 102.9);
Tailwind
colors: {
  custom: {
    50: '#77704f',
    500: '#403b0e',
    950: '#000000',
  },
}
SCSS
$custom: #403b0e;
$custom-light: #77704f;
$custom-dark: #000000;
JSON
{
  "hex": "#403b0e",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 14
  },
  "hsl": {
    "h": 54,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34755,
    "c": 0.06285,
    "h": 102.9
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#403B0E
secondary
#2F367B
accent
#51E741
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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