#403A0B#403A0B

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

Color values

HEX#403A0B
RGBrgb(64, 58, 11)
HSLhsl(53, 71%, 15%)
HSVhsv(53, 83%, 25%)
CMYKcmyk(0%, 9.4%, 82.8%, 74.9%)
CIE-LABlab(24.13, -3.70, 28.42)
CIE-LCHlch(24.13, 28.66, 97.42°)
OKLaboklab(34.47% -0.0131 0.0628)
OKLCHoklch(34.47% 0.064 101.8)
XYZxyz(3.6880, 4.1404, 0.9215)
Luminance0.0414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A0B #0B1140
analogous
#40200B #403A0B #2B400B
triadic
#403A0B #0B403A #3A0B40
tetradic
#403A0B #0B4020 #0B1140 #400B2B
square
#403A0B #0B4020 #0B1140 #400B2B
split-complementary
#403A0B #0B2B40 #200B40
monochromatic
#1A1804 #1A1804 #403A0B #746914 #A8991D

Accessibility & contrast

On white

11.49
#403A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A0B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A0B#FFFFFF#000000##FFFFFF
##403A0B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403804
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#463531
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a0b;
/* rgb */ color: rgb(64, 58, 11);
/* oklch */ color: oklch(34.5% 0.064 101.8);
Tailwind
colors: {
  custom: {
    50: '#776f4e',
    500: '#403a0b',
    950: '#000000',
  },
}
SCSS
$custom: #403a0b;
$custom-light: #776f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#403a0b",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 11
  },
  "hsl": {
    "h": 53.208,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34469,
    "c": 0.06417,
    "h": 101.8
  },
  "luminance": 0.0414
}

Semantic roles & 50–950 ramp

primary
#403A0B
secondary
#2A337D
accent
#4FED3A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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