#403303#403303

#403303 is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.6% C 0.064 H 92.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#403303
RGBrgb(64, 51, 3)
HSLhsl(47, 91%, 13%)
HSVhsv(47, 95%, 25%)
CMYKcmyk(0%, 20.3%, 95.3%, 74.9%)
CIE-LABlab(21.82, 0.36, 29.31)
CIE-LCHlch(21.82, 29.32, 89.29°)
OKLaboklab(32.62% -0.0028 0.0642)
OKLCHoklch(32.62% 0.064 92.5)
XYZxyz(3.3148, 3.4644, 0.5802)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403303 #031040
analogous
#401403 #403303 #2E4003
triadic
#403303 #034033 #330340
tetradic
#403303 #034014 #031040 #40032E
square
#403303 #034014 #031040 #40032E
split-complementary
#403303 #032E40 #140340
monochromatic
#1D1701 #1D1701 #403303 #7A6206 #B59008

Accessibility & contrast

On white

12.41
#403303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#403303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403303
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403303#FFFFFF#000000##FFFFFF
##4033031.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#3D3606
Tritanopia (blue-blind)
#462E2A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #403303;
/* rgb */ color: rgb(64, 51, 3);
/* oklch */ color: oklch(32.6% 0.064 92.5);
Tailwind
colors: {
  custom: {
    50: '#786a49',
    500: '#403303',
    950: '#000000',
  },
}
SCSS
$custom: #403303;
$custom-light: #786a49;
$custom-dark: #000000;
JSON
{
  "hex": "#403303",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 47.213,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32616,
    "c": 0.0643,
    "h": 92.5
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#403303
secondary
#1D3282
accent
#56FF29
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403303

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

Preview Lab → · Contrast checker → · Palette generator →

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