#403C13#403C13

#403C13 is a dark, muted yellow. Relative luminance 0.044; OKLCH L 35.1% C 0.059 H 103.7°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#403C13
RGBrgb(64, 60, 19)
HSLhsl(55, 54%, 16%)
HSVhsv(55, 70%, 25%)
CMYKcmyk(0%, 6.2%, 70.3%, 74.9%)
CIE-LABlab(24.86, -4.42, 25.24)
CIE-LCHlch(24.86, 25.63, 99.92°)
OKLaboklab(35.07% -0.0141 0.0577)
OKLCHoklch(35.07% 0.059 103.7)
XYZxyz(3.8479, 4.3689, 1.2566)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C13 #131740
analogous
#402613 #403C13 #2E4013
triadic
#403C13 #13403C #3C1340
tetradic
#403C13 #134026 #131740 #40132E
square
#403C13 #134026 #131740 #40132E
split-complementary
#403C13 #132E40 #261340
monochromatic
#181607 #181607 #403C13 #6F6821 #9E942F

Accessibility & contrast

On white

11.21
#403C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C13
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C13#FFFFFF#000000##FFFFFF
##403C131.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c13;
/* rgb */ color: rgb(64, 60, 19);
/* oklch */ color: oklch(35.1% 0.059 103.7);
Tailwind
colors: {
  custom: {
    50: '#767153',
    500: '#403c13',
    950: '#000000',
  },
}
SCSS
$custom: #403c13;
$custom-light: #767153;
$custom-dark: #000000;
JSON
{
  "hex": "#403c13",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 19
  },
  "hsl": {
    "h": 54.667,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.05937,
    "h": 103.7
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#403C13
secondary
#363C79
accent
#57DE4A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C13

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

Preview Lab → · Contrast checker → · Palette generator →

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