#403D14#403D14

#403D14 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.3% C 0.060 H 105.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#403D14
RGBrgb(64, 61, 20)
HSLhsl(56, 52%, 16%)
HSVhsv(56, 69%, 25%)
CMYKcmyk(0%, 4.7%, 68.8%, 74.9%)
CIE-LABlab(25.19, -4.96, 25.08)
CIE-LCHlch(25.19, 25.56, 101.19°)
OKLaboklab(35.34% -0.0155 0.0575)
OKLCHoklch(35.34% 0.06 105.1)
XYZxyz(3.9095, 4.4781, 1.3201)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D14 #141740
analogous
#402714 #403D14 #2D4014
triadic
#403D14 #14403D #3D1440
tetradic
#403D14 #144027 #141740 #40142D
square
#403D14 #144027 #141740 #40142D
split-complementary
#403D14 #142D40 #271440
monochromatic
#171607 #171607 #403D14 #6F6923 #9D9631

Accessibility & contrast

On white

11.08
#403D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#403D14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D14
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D14#FFFFFF#000000##FFFFFF
##403D141.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403d14;
/* rgb */ color: rgb(64, 61, 20);
/* oklch */ color: oklch(35.3% 0.060 105.1);
Tailwind
colors: {
  custom: {
    50: '#767253',
    500: '#403d14',
    950: '#000000',
  },
}
SCSS
$custom: #403d14;
$custom-light: #767253;
$custom-dark: #000000;
JSON
{
  "hex": "#403d14",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 20
  },
  "hsl": {
    "h": 55.909,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3534,
    "c": 0.05955,
    "h": 105.1
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#403D14
secondary
#383C78
accent
#56DC4C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D14

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

Preview Lab → · Contrast checker → · Palette generator →

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