#403F14#403F14

#403F14 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.062 H 107.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#403F14
RGBrgb(64, 63, 20)
HSLhsl(59, 52%, 16%)
HSVhsv(59, 69%, 25%)
CMYKcmyk(0%, 1.6%, 68.8%, 74.9%)
CIE-LABlab(25.85, -6.20, 25.79)
CIE-LCHlch(25.85, 26.53, 103.52°)
OKLaboklab(35.86% -0.019 0.059)
OKLCHoklch(35.86% 0.062 107.9)
XYZxyz(4.0183, 4.6956, 1.3564)
Luminance0.0470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F14 #141540
analogous
#402914 #403F14 #2B4014
triadic
#403F14 #14403F #3F1440
tetradic
#403F14 #144029 #141540 #40142B
square
#403F14 #144029 #141540 #40142B
split-complementary
#403F14 #142B40 #291440
monochromatic
#171707 #171707 #403F14 #6F6D23 #9D9B31

Accessibility & contrast

On white

10.83
#403F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F14
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F14#FFFFFF#000000##FFFFFF
##403F141.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403f14;
/* rgb */ color: rgb(64, 63, 20);
/* oklch */ color: oklch(35.9% 0.062 107.9);
Tailwind
colors: {
  custom: {
    50: '#767354',
    500: '#403f14',
    950: '#000000',
  },
}
SCSS
$custom: #403f14;
$custom-light: #767354;
$custom-dark: #000000;
JSON
{
  "hex": "#403f14",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 20
  },
  "hsl": {
    "h": 58.636,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35863,
    "c": 0.06201,
    "h": 107.9
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

primary
#403F14
secondary
#383978
accent
#4FDC4C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F14

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

Preview Lab → · Contrast checker → · Palette generator →

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