#403B0B#403B0B

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

Color values

HEX#403B0B
RGBrgb(64, 59, 11)
HSLhsl(54, 71%, 15%)
HSVhsv(54, 83%, 25%)
CMYKcmyk(0%, 7.8%, 82.8%, 74.9%)
CIE-LABlab(24.46, -4.33, 28.74)
CIE-LCHlch(24.46, 29.07, 98.57°)
OKLaboklab(34.73% -0.0149 0.0635)
OKLCHoklch(34.73% 0.065 103.2)
XYZxyz(3.7389, 4.2422, 0.9384)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B0B #0B1040
analogous
#40210B #403B0B #2B400B
triadic
#403B0B #0B403B #3B0B40
tetradic
#403B0B #0B4021 #0B1040 #400B2B
square
#403B0B #0B4021 #0B1040 #400B2B
split-complementary
#403B0B #0B2B40 #210B40
monochromatic
#1A1804 #1A1804 #403B0B #746B14 #A89B1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403B0B#FFFFFF#000000##FFFFFF
##403B0B1.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)
#413904
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#463632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b0b;
/* rgb */ color: rgb(64, 59, 11);
/* oklch */ color: oklch(34.7% 0.065 103.2);
Tailwind
colors: {
  custom: {
    50: '#77704e',
    500: '#403b0b',
    950: '#000000',
  },
}
SCSS
$custom: #403b0b;
$custom-light: #77704e;
$custom-dark: #000000;
JSON
{
  "hex": "#403b0b",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 11
  },
  "hsl": {
    "h": 54.34,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34728,
    "c": 0.06521,
    "h": 103.2
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#403B0B
secondary
#2A327D
accent
#4BED3A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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