#403C12#403C12

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

Color values

HEX#403C12
RGBrgb(64, 60, 18)
HSLhsl(55, 56%, 16%)
HSVhsv(55, 72%, 25%)
CMYKcmyk(0%, 6.2%, 71.9%, 74.9%)
CIE-LABlab(24.84, -4.50, 25.76)
CIE-LCHlch(24.84, 26.15, 99.90°)
OKLaboklab(35.06% -0.0145 0.0586)
OKLCHoklch(35.06% 0.06 103.9)
XYZxyz(3.8395, 4.3655, 1.2125)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C12 #121640
analogous
#402512 #403C12 #2D4012
triadic
#403C12 #12403C #3C1240
tetradic
#403C12 #124025 #121640 #40122D
square
#403C12 #124025 #121640 #40122D
split-complementary
#403C12 #122D40 #251240
monochromatic
#181607 #181607 #403C12 #70691F #A0962D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403C12#FFFFFF#000000##FFFFFF
##403C121.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)
#423A0D
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#453833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c12;
/* rgb */ color: rgb(64, 60, 18);
/* oklch */ color: oklch(35.1% 0.060 103.9);
Tailwind
colors: {
  custom: {
    50: '#777152',
    500: '#403c12',
    950: '#000000',
  },
}
SCSS
$custom: #403c12;
$custom-light: #777152;
$custom-dark: #000000;
JSON
{
  "hex": "#403c12",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 54.783,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35057,
    "c": 0.06035,
    "h": 103.9
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

primary
#403C12
secondary
#353B79
accent
#56DF48
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403C12

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

Preview Lab → · Contrast checker → · Palette generator →

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