#403C0D#403C0D

#403C0D is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.0% C 0.065 H 104.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#403C0D
RGBrgb(64, 60, 13)
HSLhsl(55, 66%, 15%)
HSVhsv(55, 80%, 25%)
CMYKcmyk(0%, 6.2%, 79.7%, 74.9%)
CIE-LABlab(24.80, -4.84, 28.18)
CIE-LCHlch(24.80, 28.59, 99.75°)
OKLaboklab(35.01% -0.0161 0.0627)
OKLCHoklch(35.01% 0.065 104.4)
XYZxyz(3.8030, 4.3509, 1.0202)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C0D #0D1140
analogous
#40220D #403C0D #2B400D
triadic
#403C0D #0D403C #3C0D40
tetradic
#403C0D #0D4022 #0D1140 #400D2B
square
#403C0D #0D4022 #0D1140 #400D2B
split-complementary
#403C0D #0D2B40 #220D40
monochromatic
#191805 #191805 #403C0D #736C17 #A69B22

Accessibility & contrast

On white

11.23
#403C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C0D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C0D#FFFFFF#000000##FFFFFF
##403C0D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A06
Deuteranopia (green-blind)
#433C10
Tritanopia (blue-blind)
#453733
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c0d;
/* rgb */ color: rgb(64, 60, 13);
/* oklch */ color: oklch(35.0% 0.065 104.4);
Tailwind
colors: {
  custom: {
    50: '#77714f',
    500: '#403c0d',
    950: '#000000',
  },
}
SCSS
$custom: #403c0d;
$custom-light: #77714f;
$custom-dark: #000000;
JSON
{
  "hex": "#403c0d",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 13
  },
  "hsl": {
    "h": 55.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35006,
    "c": 0.06476,
    "h": 104.4
  },
  "luminance": 0.04351
}

Semantic roles & 50–950 ramp

primary
#403C0D
secondary
#2D337C
accent
#4CE93F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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