#403F16#403F16

#403F16 is a dark, muted yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.060 H 107.8°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#403F16
RGBrgb(64, 63, 22)
HSLhsl(59, 49%, 17%)
HSVhsv(59, 66%, 25%)
CMYKcmyk(0%, 1.6%, 65.6%, 74.9%)
CIE-LABlab(25.87, -6.03, 24.74)
CIE-LCHlch(25.87, 25.47, 103.70°)
OKLaboklab(35.89% -0.0183 0.0571)
OKLCHoklch(35.89% 0.06 107.8)
XYZxyz(4.0368, 4.7030, 1.4540)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F16 #161740
analogous
#402A16 #403F16 #2C4016
triadic
#403F16 #16403F #3F1640
tetradic
#403F16 #16402A #161740 #40162C
square
#403F16 #16402A #161740 #40162C
split-complementary
#403F16 #162C40 #2A1640
monochromatic
#171608 #171608 #403F16 #6E6C26 #9B9935

Accessibility & contrast

On white

10.82
#403F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F16
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F16#FFFFFF#000000##FFFFFF
##403F161.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C12
Deuteranopia (green-blind)
#453E18
Tritanopia (blue-blind)
#453B36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f16;
/* rgb */ color: rgb(64, 63, 22);
/* oklch */ color: oklch(35.9% 0.060 107.8);
Tailwind
colors: {
  custom: {
    50: '#767355',
    500: '#403f16',
    950: '#000000',
  },
}
SCSS
$custom: #403f16;
$custom-light: #767355;
$custom-dark: #000000;
JSON
{
  "hex": "#403f16",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 58.571,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.05995,
    "h": 107.8
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#403F16
secondary
#3B3C77
accent
#53D84F
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #403F16

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

Preview Lab → · Contrast checker → · Palette generator →

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