#403C0B#403C0B

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

Color values

HEX#403C0B
RGBrgb(64, 60, 11)
HSLhsl(55, 71%, 15%)
HSVhsv(55, 83%, 25%)
CMYKcmyk(0%, 6.2%, 82.8%, 74.9%)
CIE-LABlab(24.78, -4.96, 29.06)
CIE-LCHlch(24.78, 29.48, 99.69°)
OKLaboklab(34.99% -0.0167 0.0641)
OKLCHoklch(34.99% 0.066 104.6)
XYZxyz(3.7908, 4.3460, 0.9557)
Luminance0.0435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C0B #0B0F40
analogous
#40220B #403C0B #2A400B
triadic
#403C0B #0B403C #3C0B40
tetradic
#403C0B #0B4022 #0B0F40 #400B2A
square
#403C0B #0B4022 #0B0F40 #400B2A
split-complementary
#403C0B #0B2A40 #220B40
monochromatic
#1A1804 #1A1804 #403C0B #746D14 #A89E1D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403C0B#FFFFFF#000000##FFFFFF
##403C0B1.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)
#423A04
Deuteranopia (green-blind)
#433C0E
Tritanopia (blue-blind)
#453733
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c0b;
/* rgb */ color: rgb(64, 60, 11);
/* oklch */ color: oklch(35.0% 0.066 104.6);
Tailwind
colors: {
  custom: {
    50: '#77714e',
    500: '#403c0b',
    950: '#000000',
  },
}
SCSS
$custom: #403c0b;
$custom-light: #77714e;
$custom-dark: #000000;
JSON
{
  "hex": "#403c0b",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 55.472,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34989,
    "c": 0.06628,
    "h": 104.6
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#403C0B
secondary
#2A307D
accent
#48ED3A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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