#403F11#403F11

#403F11 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.8% C 0.065 H 108.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#403F11
RGBrgb(64, 63, 17)
HSLhsl(59, 58%, 16%)
HSVhsv(59, 73%, 25%)
CMYKcmyk(0%, 1.6%, 73.4%, 74.9%)
CIE-LABlab(25.82, -6.44, 27.30)
CIE-LCHlch(25.82, 28.05, 103.27°)
OKLaboklab(35.83% -0.0201 0.0617)
OKLCHoklch(35.83% 0.065 108.1)
XYZxyz(3.9932, 4.6856, 1.2243)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F11 #111240
analogous
#402711 #403F11 #294011
triadic
#403F11 #11403F #3F1140
tetradic
#403F11 #114027 #111240 #401129
square
#403F11 #114027 #111240 #401129
split-complementary
#403F11 #112940 #271140
monochromatic
#181806 #181806 #403F11 #706F1E #A19E2B

Accessibility & contrast

On white

10.84
#403F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F11
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F11#FFFFFF#000000##FFFFFF
##403F111.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0B
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#453B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f11;
/* rgb */ color: rgb(64, 63, 17);
/* oklch */ color: oklch(35.8% 0.065 108.1);
Tailwind
colors: {
  custom: {
    50: '#777352',
    500: '#403f11',
    950: '#000000',
  },
}
SCSS
$custom: #403f11;
$custom-light: #777352;
$custom-dark: #000000;
JSON
{
  "hex": "#403f11",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 17
  },
  "hsl": {
    "h": 58.723,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3583,
    "c": 0.06486,
    "h": 108.1
  },
  "luminance": 0.04685
}

Semantic roles & 50–950 ramp

primary
#403F11
secondary
#333579
accent
#4AE147
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F11

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

Preview Lab → · Contrast checker → · Palette generator →

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