#403D13#403D13

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

Color values

HEX#403D13
RGBrgb(64, 61, 19)
HSLhsl(56, 54%, 16%)
HSVhsv(56, 70%, 25%)
CMYKcmyk(0%, 4.7%, 70.3%, 74.9%)
CIE-LABlab(25.18, -5.04, 25.60)
CIE-LCHlch(25.18, 26.09, 101.14°)
OKLaboklab(35.33% -0.0159 0.0584)
OKLCHoklch(35.33% 0.061 105.2)
XYZxyz(3.9008, 4.4746, 1.2742)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D13 #131640
analogous
#402713 #403D13 #2D4013
triadic
#403D13 #13403D #3D1340
tetradic
#403D13 #134027 #131640 #40132D
square
#403D13 #134027 #131640 #40132D
split-complementary
#403D13 #132D40 #271340
monochromatic
#181607 #181607 #403D13 #6F6A21 #9E972F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403D13#FFFFFF#000000##FFFFFF
##403D131.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403d13;
/* rgb */ color: rgb(64, 61, 19);
/* oklch */ color: oklch(35.3% 0.061 105.2);
Tailwind
colors: {
  custom: {
    50: '#767253',
    500: '#403d13',
    950: '#000000',
  },
}
SCSS
$custom: #403d13;
$custom-light: #767253;
$custom-dark: #000000;
JSON
{
  "hex": "#403d13",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 19
  },
  "hsl": {
    "h": 56,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35328,
    "c": 0.06054,
    "h": 105.2
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#403D13
secondary
#363B79
accent
#54DE4A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090702
muted
#7B7A78

Preview Lab

Preview with #403D13

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

Preview Lab → · Contrast checker → · Palette generator →

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