#403903#403903

#403903 is a dark, moderate yellow. Relative luminance 0.040; OKLCH L 34.1% C 0.069 H 101.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#403903
RGBrgb(64, 57, 3)
HSLhsl(53, 91%, 13%)
HSVhsv(53, 95%, 25%)
CMYKcmyk(0%, 10.9%, 95.3%, 74.9%)
CIE-LABlab(23.75, -3.50, 31.31)
CIE-LCHlch(23.75, 31.51, 96.38°)
OKLaboklab(34.15% -0.0136 0.0677)
OKLCHoklch(34.15% 0.069 101.4)
XYZxyz(3.5941, 4.0230, 0.6733)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403903 #030A40
analogous
#401A03 #403903 #284003
triadic
#403903 #034039 #390340
tetradic
#403903 #03401A #030A40 #400328
square
#403903 #03401A #030A40 #400328
split-complementary
#403903 #032840 #1A0340
monochromatic
#1D1A01 #1D1A01 #403903 #7A6D06 #B5A108

Accessibility & contrast

On white

11.64
#403903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#403903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403903
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403903#FFFFFF#000000##FFFFFF
##4039031.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403700
Deuteranopia (green-blind)
#423A07
Tritanopia (blue-blind)
#46342F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403903;
/* rgb */ color: rgb(64, 57, 3);
/* oklch */ color: oklch(34.1% 0.069 101.4);
Tailwind
colors: {
  custom: {
    50: '#786f4a',
    500: '#403903',
    950: '#000000',
  },
}
SCSS
$custom: #403903;
$custom-light: #786f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403903",
  "rgb": {
    "r": 64,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 53.115,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34146,
    "c": 0.06907,
    "h": 101.4
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#403903
secondary
#1D2882
accent
#41FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403903

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

Preview Lab → · Contrast checker → · Palette generator →

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