#403E13#403E13

#403E13 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.6% C 0.062 H 106.6°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#403E13
RGBrgb(64, 62, 19)
HSLhsl(57, 54%, 16%)
HSVhsv(57, 70%, 25%)
CMYKcmyk(0%, 3.1%, 70.3%, 74.9%)
CIE-LABlab(25.51, -5.66, 25.95)
CIE-LCHlch(25.51, 26.56, 102.31°)
OKLaboklab(35.59% -0.0177 0.0592)
OKLCHoklch(35.59% 0.062 106.6)
XYZxyz(3.9547, 4.5824, 1.2921)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E13 #131540
analogous
#402813 #403E13 #2C4013
triadic
#403E13 #13403E #3E1340
tetradic
#403E13 #134028 #131540 #40132C
square
#403E13 #134028 #131540 #40132C
split-complementary
#403E13 #132C40 #281340
monochromatic
#181707 #181707 #403E13 #6F6C21 #9E992F

Accessibility & contrast

On white

10.96
#403E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E13
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E13#FFFFFF#000000##FFFFFF
##403E131.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B0E
Deuteranopia (green-blind)
#453D16
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e13;
/* rgb */ color: rgb(64, 62, 19);
/* oklch */ color: oklch(35.6% 0.062 106.6);
Tailwind
colors: {
  custom: {
    50: '#767353',
    500: '#403e13',
    950: '#000000',
  },
}
SCSS
$custom: #403e13;
$custom-light: #767353;
$custom-dark: #000000;
JSON
{
  "hex": "#403e13",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 19
  },
  "hsl": {
    "h": 57.333,
    "s": 54.217,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.06175,
    "h": 106.6
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#403E13
secondary
#363979
accent
#51DE4A
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E13

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

Preview Lab → · Contrast checker → · Palette generator →

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