#403A0F#403A0F

#403A0F is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.5% C 0.061 H 101.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#403A0F
RGBrgb(64, 58, 15)
HSLhsl(53, 62%, 15%)
HSVhsv(53, 77%, 25%)
CMYKcmyk(0%, 9.4%, 76.6%, 74.9%)
CIE-LABlab(24.16, -3.45, 26.58)
CIE-LCHlch(24.16, 26.80, 97.40°)
OKLaboklab(34.51% -0.0119 0.0598)
OKLCHoklch(34.51% 0.061 101.3)
XYZxyz(3.7138, 4.1507, 1.0574)
Luminance0.0415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A0F #0F1540
analogous
#40210F #403A0F #2D400F
triadic
#403A0F #0F403A #3A0F40
tetradic
#403A0F #0F4021 #0F1540 #400F2D
square
#403A0F #0F4021 #0F1540 #400F2D
split-complementary
#403A0F #0F2D40 #210F40
monochromatic
#191606 #191606 #403A0F #72671B #A39426

Accessibility & contrast

On white

11.47
#403A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A0F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A0F#FFFFFF#000000##FFFFFF
##403A0F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403a0f;
/* rgb */ color: rgb(64, 58, 15);
/* oklch */ color: oklch(34.5% 0.061 101.3);
Tailwind
colors: {
  custom: {
    50: '#776f50',
    500: '#403a0f',
    950: '#000000',
  },
}
SCSS
$custom: #403a0f;
$custom-light: #776f50;
$custom-dark: #000000;
JSON
{
  "hex": "#403a0f",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 52.653,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34506,
    "c": 0.06093,
    "h": 101.3
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#403A0F
secondary
#30397A
accent
#57E543
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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