#403308#403308

#403308 is a dark, moderate yellow. Relative luminance 0.035; OKLCH L 32.7% C 0.060 H 91.1°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#403308
RGBrgb(64, 51, 8)
HSLhsl(46, 78%, 14%)
HSVhsv(46, 88%, 25%)
CMYKcmyk(0%, 20.3%, 87.5%, 74.9%)
CIE-LABlab(21.86, 0.64, 27.32)
CIE-LCHlch(21.86, 27.33, 88.66°)
OKLaboklab(32.66% -0.0012 0.0604)
OKLCHoklch(32.66% 0.06 91.1)
XYZxyz(3.3422, 3.4754, 0.7245)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403308 #081540
analogous
#401708 #403308 #314008
triadic
#403308 #084033 #330840
tetradic
#403308 #084017 #081540 #400831
square
#403308 #084017 #081540 #400831
split-complementary
#403308 #083140 #170840
monochromatic
#1B1603 #1B1603 #403308 #765E0F #AD8A16

Accessibility & contrast

On white

12.39
#403308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#403308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403308
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403308#FFFFFF#000000##FFFFFF
##4033081.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3203
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#462E2B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #403308;
/* rgb */ color: rgb(64, 51, 8);
/* oklch */ color: oklch(32.7% 0.060 91.1);
Tailwind
colors: {
  custom: {
    50: '#776a4b',
    500: '#403308',
    950: '#000000',
  },
}
SCSS
$custom: #403308;
$custom-light: #776a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403308",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 8
  },
  "hsl": {
    "h": 46.071,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32661,
    "c": 0.06041,
    "h": 91.1
  },
  "luminance": 0.03475
}

Semantic roles & 50–950 ramp

primary
#403308
secondary
#253A7E
accent
#60F434
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403308

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

Preview Lab → · Contrast checker → · Palette generator →

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