#403B03#403B03

#403B03 is a dark, moderate yellow. Relative luminance 0.042; OKLCH L 34.7% C 0.071 H 104.0°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#403B03
RGBrgb(64, 59, 3)
HSLhsl(55, 91%, 13%)
HSVhsv(55, 95%, 25%)
CMYKcmyk(0%, 7.8%, 95.3%, 74.9%)
CIE-LABlab(24.40, -4.76, 31.96)
CIE-LCHlch(24.40, 32.31, 98.48°)
OKLaboklab(34.67% -0.0171 0.0689)
OKLCHoklch(34.67% 0.071 104)
XYZxyz(3.6949, 4.2247, 0.7069)
Luminance0.0422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403B03 #030840
analogous
#401C03 #403B03 #264003
triadic
#403B03 #03403B #3B0340
tetradic
#403B03 #03401C #030840 #400326
square
#403B03 #03401C #030840 #400326
split-complementary
#403B03 #032640 #1C0340
monochromatic
#1D1B01 #1D1B01 #403B03 #7A7106 #B5A708

Accessibility & contrast

On white

11.38
#403B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#403B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403B03
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403B03#FFFFFF#000000##FFFFFF
##403B031.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#433B07
Tritanopia (blue-blind)
#463631
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403b03;
/* rgb */ color: rgb(64, 59, 3);
/* oklch */ color: oklch(34.7% 0.071 104.0);
Tailwind
colors: {
  custom: {
    50: '#78704a',
    500: '#403b03',
    950: '#000000',
  },
}
SCSS
$custom: #403b03;
$custom-light: #78704a;
$custom-dark: #000000;
JSON
{
  "hex": "#403b03",
  "rgb": {
    "r": 64,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 55.082,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34666,
    "c": 0.07098,
    "h": 104
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

primary
#403B03
secondary
#1D2582
accent
#3AFF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403B03

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

Preview Lab → · Contrast checker → · Palette generator →

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