#403D12#403D12

#403D12 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.062 H 105.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#403D12
RGBrgb(64, 61, 18)
HSLhsl(56, 56%, 16%)
HSVhsv(56, 72%, 25%)
CMYKcmyk(0%, 4.7%, 71.9%, 74.9%)
CIE-LABlab(25.17, -5.12, 26.11)
CIE-LCHlch(25.17, 26.61, 101.10°)
OKLaboklab(35.32% -0.0162 0.0593)
OKLCHoklch(35.32% 0.062 105.3)
XYZxyz(3.8924, 4.4713, 1.2302)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D12 #121540
analogous
#402612 #403D12 #2C4012
triadic
#403D12 #12403D #3D1240
tetradic
#403D12 #124026 #121540 #40122C
square
#403D12 #124026 #121540 #40122C
split-complementary
#403D12 #122C40 #261240
monochromatic
#181707 #181707 #403D12 #706B1F #A0982D

Accessibility & contrast

On white

11.09
#403D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D12
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D12#FFFFFF#000000##FFFFFF
##403D121.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0D
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403d12;
/* rgb */ color: rgb(64, 61, 18);
/* oklch */ color: oklch(35.3% 0.062 105.3);
Tailwind
colors: {
  custom: {
    50: '#777252',
    500: '#403d12',
    950: '#000000',
  },
}
SCSS
$custom: #403d12;
$custom-light: #777252;
$custom-dark: #000000;
JSON
{
  "hex": "#403d12",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 18
  },
  "hsl": {
    "h": 56.087,
    "s": 56.098,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35317,
    "c": 0.06152,
    "h": 105.3
  },
  "luminance": 0.04471
}

Semantic roles & 50–950 ramp

primary
#403D12
secondary
#353979
accent
#52DF48
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D12

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

Preview Lab → · Contrast checker → · Palette generator →

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