#403B0F#403B0F

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

Color values

HEX#403B0F
RGBrgb(64, 59, 15)
HSLhsl(54, 62%, 15%)
HSVhsv(54, 77%, 25%)
CMYKcmyk(0%, 7.8%, 76.6%, 74.9%)
CIE-LABlab(24.49, -4.09, 26.91)
CIE-LCHlch(24.49, 27.22, 98.63°)
OKLaboklab(34.77% -0.0137 0.0605)
OKLCHoklch(34.77% 0.062 102.8)
XYZxyz(3.7647, 4.2526, 1.0744)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B0F #0F1440
analogous
#40220F #403B0F #2C400F
triadic
#403B0F #0F403B #3B0F40
tetradic
#403B0F #0F4022 #0F1440 #400F2C
square
#403B0F #0F4022 #0F1440 #400F2C
split-complementary
#403B0F #0F2C40 #220F40
monochromatic
#191706 #191706 #403B0F #72691B #A39626

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403B0F#FFFFFF#000000##FFFFFF
##403B0F1.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)
#413909
Deuteranopia (green-blind)
#433B12
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b0f;
/* rgb */ color: rgb(64, 59, 15);
/* oklch */ color: oklch(34.8% 0.062 102.8);
Tailwind
colors: {
  custom: {
    50: '#777050',
    500: '#403b0f',
    950: '#000000',
  },
}
SCSS
$custom: #403b0f;
$custom-light: #777050;
$custom-dark: #000000;
JSON
{
  "hex": "#403b0f",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 15
  },
  "hsl": {
    "h": 53.878,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34765,
    "c": 0.062,
    "h": 102.8
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#403B0F
secondary
#30387A
accent
#53E543
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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