#403F0D#403F0D

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

Color values

HEX#403F0D
RGBrgb(64, 63, 13)
HSLhsl(59, 66%, 15%)
HSVhsv(59, 80%, 25%)
CMYKcmyk(0%, 1.6%, 79.7%, 74.9%)
CIE-LABlab(25.79, -6.71, 29.15)
CIE-LCHlch(25.79, 29.91, 102.96°)
OKLaboklab(35.79% -0.0214 0.0648)
OKLCHoklch(35.79% 0.068 108.3)
XYZxyz(3.9647, 4.6742, 1.0741)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F0D #0D0E40
analogous
#40260D #403F0D #27400D
triadic
#403F0D #0D403F #3F0D40
tetradic
#403F0D #0D4026 #0D0E40 #400D27
square
#403F0D #0D4026 #0D0E40 #400D27
split-complementary
#403F0D #0D2740 #260D40
monochromatic
#191905 #191905 #403F0D #737117 #A6A322

Accessibility & contrast

On white

10.85
#403F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F0D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F0D#FFFFFF#000000##FFFFFF
##403F0D1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f0d;
/* rgb */ color: rgb(64, 63, 13);
/* oklch */ color: oklch(35.8% 0.068 108.3);
Tailwind
colors: {
  custom: {
    50: '#77734f',
    500: '#403f0d',
    950: '#000000',
  },
}
SCSS
$custom: #403f0d;
$custom-light: #77734f;
$custom-dark: #000000;
JSON
{
  "hex": "#403f0d",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 58.824,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35792,
    "c": 0.0682,
    "h": 108.3
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#403F0D
secondary
#2D2F7C
accent
#42E93F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #403F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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