#403B0D#403B0D

#403B0D is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.064 H 103.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#403B0D
RGBrgb(64, 59, 13)
HSLhsl(54, 66%, 15%)
HSVhsv(54, 80%, 25%)
CMYKcmyk(0%, 7.8%, 79.7%, 74.9%)
CIE-LABlab(24.47, -4.22, 27.86)
CIE-LCHlch(24.47, 28.17, 98.61°)
OKLaboklab(34.75% -0.0143 0.062)
OKLCHoklch(34.75% 0.064 103)
XYZxyz(3.7511, 4.2471, 1.0029)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B0D #0D1240
analogous
#40220D #403B0D #2B400D
triadic
#403B0D #0D403B #3B0D40
tetradic
#403B0D #0D4022 #0D1240 #400D2B
square
#403B0D #0D4022 #0D1240 #400D2B
split-complementary
#403B0D #0D2B40 #220D40
monochromatic
#191705 #191705 #403B0D #736A17 #A69922

Accessibility & contrast

On white

11.36
#403B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403B0D
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B0D#FFFFFF#000000##FFFFFF
##403B0D1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403b0d;
/* rgb */ color: rgb(64, 59, 13);
/* oklch */ color: oklch(34.7% 0.064 103.0);
Tailwind
colors: {
  custom: {
    50: '#77704f',
    500: '#403b0d',
    950: '#000000',
  },
}
SCSS
$custom: #403b0d;
$custom-light: #77704f;
$custom-dark: #000000;
JSON
{
  "hex": "#403b0d",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 13
  },
  "hsl": {
    "h": 54.118,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34746,
    "c": 0.06367,
    "h": 103
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#403B0D
secondary
#2D357C
accent
#4FE93F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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