#403E11#403E11

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

Color values

HEX#403E11
RGBrgb(64, 62, 17)
HSLhsl(57, 58%, 16%)
HSVhsv(57, 73%, 25%)
CMYKcmyk(0%, 3.1%, 73.4%, 74.9%)
CIE-LABlab(25.49, -5.82, 26.95)
CIE-LCHlch(25.49, 27.57, 102.18°)
OKLaboklab(35.57% -0.0184 0.0609)
OKLCHoklch(35.57% 0.064 106.8)
XYZxyz(3.9383, 4.5758, 1.2060)
Luminance0.0458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E11 #111340
analogous
#402611 #403E11 #2A4011
triadic
#403E11 #11403E #3E1140
tetradic
#403E11 #114026 #111340 #40112A
square
#403E11 #114026 #111340 #40112A
split-complementary
#403E11 #112A40 #261140
monochromatic
#181706 #181706 #403E11 #706D1E #A19C2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403E11#FFFFFF#000000##FFFFFF
##403E111.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)
#443B0B
Deuteranopia (green-blind)
#453D14
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e11;
/* rgb */ color: rgb(64, 62, 17);
/* oklch */ color: oklch(35.6% 0.064 106.8);
Tailwind
colors: {
  custom: {
    50: '#777352',
    500: '#403e11',
    950: '#000000',
  },
}
SCSS
$custom: #403e11;
$custom-light: #777352;
$custom-dark: #000000;
JSON
{
  "hex": "#403e11",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 17
  },
  "hsl": {
    "h": 57.447,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35567,
    "c": 0.06364,
    "h": 106.8
  },
  "luminance": 0.04576
}

Semantic roles & 50–950 ramp

primary
#403E11
secondary
#333679
accent
#4DE147
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403E11

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

Preview Lab → · Contrast checker → · Palette generator →

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