#403A16#403A16

#403A16 is a dark, muted yellow. Relative luminance 0.042; OKLCH L 34.6% C 0.054 H 100.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#403A16
RGBrgb(64, 58, 22)
HSLhsl(51, 49%, 17%)
HSVhsv(51, 66%, 25%)
CMYKcmyk(0%, 9.4%, 65.6%, 74.9%)
CIE-LABlab(24.24, -2.89, 22.91)
CIE-LCHlch(24.24, 23.09, 97.19°)
OKLaboklab(34.59% -0.0093 0.0532)
OKLCHoklch(34.59% 0.054 100)
XYZxyz(3.7724, 4.1742, 1.3659)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A16 #161C40
analogous
#402516 #403A16 #314016
triadic
#403A16 #16403A #3A1640
tetradic
#403A16 #164025 #161C40 #401631
square
#403A16 #164025 #161C40 #401631
split-complementary
#403A16 #163140 #251640
monochromatic
#171508 #171508 #403A16 #6E6326 #9B8D35

Accessibility & contrast

On white

11.45
#403A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A16
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A16#FFFFFF#000000##FFFFFF
##403A161.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403812
Deuteranopia (green-blind)
#413B18
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a16;
/* rgb */ color: rgb(64, 58, 22);
/* oklch */ color: oklch(34.6% 0.054 100.0);
Tailwind
colors: {
  custom: {
    50: '#766f54',
    500: '#403a16',
    950: '#000000',
  },
}
SCSS
$custom: #403a16;
$custom-light: #766f54;
$custom-dark: #000000;
JSON
{
  "hex": "#403a16",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 22
  },
  "hsl": {
    "h": 51.429,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.05398,
    "h": 100
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#403A16
secondary
#3B4377
accent
#63D84F
background
#F7F6F4
surface
#EDECE8
border
#C8C7C4
text
#090703
muted
#7B7A78

Preview Lab

Preview with #403A16

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

Preview Lab → · Contrast checker → · Palette generator →

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