#403A14#403A14

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

Color values

HEX#403A14
RGBrgb(64, 58, 20)
HSLhsl(52, 52%, 16%)
HSVhsv(52, 69%, 25%)
CMYKcmyk(0%, 9.4%, 68.8%, 74.9%)
CIE-LABlab(24.22, -3.07, 24.00)
CIE-LCHlch(24.22, 24.20, 97.29°)
OKLaboklab(34.56% -0.0101 0.0552)
OKLCHoklch(34.56% 0.056 100.4)
XYZxyz(3.7538, 4.1668, 1.2682)
Luminance0.0417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A14 #141A40
analogous
#402414 #403A14 #304014
triadic
#403A14 #14403A #3A1440
tetradic
#403A14 #144024 #141A40 #401430
square
#403A14 #144024 #141A40 #401430
split-complementary
#403A14 #143040 #241440
monochromatic
#171507 #171507 #403A14 #6F6423 #9D8F31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403A14#FFFFFF#000000##FFFFFF
##403A141.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)
#403810
Deuteranopia (green-blind)
#413B16
Tritanopia (blue-blind)
#453632
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a14;
/* rgb */ color: rgb(64, 58, 20);
/* oklch */ color: oklch(34.6% 0.056 100.4);
Tailwind
colors: {
  custom: {
    50: '#766f53',
    500: '#403a14',
    950: '#000000',
  },
}
SCSS
$custom: #403a14;
$custom-light: #766f53;
$custom-dark: #000000;
JSON
{
  "hex": "#403a14",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 20
  },
  "hsl": {
    "h": 51.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34564,
    "c": 0.05612,
    "h": 100.4
  },
  "luminance": 0.04167
}

Semantic roles & 50–950 ramp

primary
#403A14
secondary
#384078
accent
#60DC4C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403A14

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

Preview Lab → · Contrast checker → · Palette generator →

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