#403F19#403F19

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

Color values

HEX#403F19
RGBrgb(64, 63, 25)
HSLhsl(58, 44%, 17%)
HSVhsv(58, 61%, 25%)
CMYKcmyk(0%, 1.6%, 60.9%, 74.9%)
CIE-LABlab(25.91, -5.75, 23.11)
CIE-LCHlch(25.91, 23.81, 103.97°)
OKLaboklab(35.93% -0.0171 0.054)
OKLCHoklch(35.93% 0.057 107.6)
XYZxyz(4.0674, 4.7153, 1.6154)
Luminance0.0471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F19 #191A40
analogous
#402C19 #403F19 #2D4019
triadic
#403F19 #19403F #3F1940
tetradic
#403F19 #19402C #191A40 #40192D
square
#403F19 #19402C #191A40 #40192D
split-complementary
#403F19 #192D40 #2C1940
monochromatic
#161609 #161609 #403F19 #6C6A2A #98963B

Accessibility & contrast

On white

10.81
#403F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F19
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F19#FFFFFF#000000##FFFFFF
##403F191.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#453E1B
Tritanopia (blue-blind)
#453B37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f19;
/* rgb */ color: rgb(64, 63, 25);
/* oklch */ color: oklch(35.9% 0.057 107.6);
Tailwind
colors: {
  custom: {
    50: '#767357',
    500: '#403f19',
    950: '#000000',
  },
}
SCSS
$custom: #403f19;
$custom-light: #767357;
$custom-dark: #000000;
JSON
{
  "hex": "#403f19",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 25
  },
  "hsl": {
    "h": 58.462,
    "s": 43.82,
    "l": 17.451
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.05666,
    "h": 107.6
  },
  "luminance": 0.04715
}

Semantic roles & 50–950 ramp

primary
#403F19
secondary
#3F4076
accent
#58D454
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080803
muted
#7B7B78

Preview Lab

Preview with #403F19

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

Preview Lab → · Contrast checker → · Palette generator →

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