#403803#403803

#403803 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.9% C 0.068 H 100.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#403803
RGBrgb(64, 56, 3)
HSLhsl(52, 91%, 13%)
HSVhsv(52, 95%, 25%)
CMYKcmyk(0%, 12.5%, 95.3%, 74.9%)
CIE-LABlab(23.42, -2.86, 30.99)
CIE-LCHlch(23.42, 31.12, 95.28°)
OKLaboklab(33.89% -0.0118 0.0671)
OKLCHoklch(33.89% 0.068 100)
XYZxyz(3.5452, 3.9251, 0.6570)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403803 #030B40
analogous
#401903 #403803 #294003
triadic
#403803 #034038 #380340
tetradic
#403803 #034019 #030B40 #400329
square
#403803 #034019 #030B40 #400329
split-complementary
#403803 #032940 #190340
monochromatic
#1D1A01 #1D1A01 #403803 #7A6B06 #B59E08

Accessibility & contrast

On white

11.76
#403803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403803
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403803#FFFFFF#000000##FFFFFF
##4038031.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#413907
Tritanopia (blue-blind)
#46332E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403803;
/* rgb */ color: rgb(64, 56, 3);
/* oklch */ color: oklch(33.9% 0.068 100.0);
Tailwind
colors: {
  custom: {
    50: '#786e49',
    500: '#403803',
    950: '#000000',
  },
}
SCSS
$custom: #403803;
$custom-light: #786e49;
$custom-dark: #000000;
JSON
{
  "hex": "#403803",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 52.131,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33888,
    "c": 0.06817,
    "h": 100
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#403803
secondary
#1D2A82
accent
#45FF29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403803

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

Preview Lab → · Contrast checker → · Palette generator →

#403803 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva