#403307#403307

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

Color values

HEX#403307
RGBrgb(64, 51, 7)
HSLhsl(46, 80%, 14%)
HSVhsv(46, 89%, 25%)
CMYKcmyk(0%, 20.3%, 89.1%, 74.9%)
CIE-LABlab(21.85, 0.58, 27.72)
CIE-LCHlch(21.85, 27.72, 88.79°)
OKLaboklab(32.65% -0.0015 0.0612)
OKLCHoklch(32.65% 0.061 91.4)
XYZxyz(3.3367, 3.4732, 0.6956)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403307 #071440
analogous
#401707 #403307 #314007
triadic
#403307 #074033 #330740
tetradic
#403307 #074017 #071440 #400731
square
#403307 #074017 #071440 #400731
split-complementary
#403307 #073140 #170740
monochromatic
#1C1603 #1C1603 #403307 #775F0D #AE8B13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403307#FFFFFF#000000##FFFFFF
##4033071.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403307;
/* rgb */ color: rgb(64, 51, 7);
/* oklch */ color: oklch(32.7% 0.061 91.4);
Tailwind
colors: {
  custom: {
    50: '#776a4b',
    500: '#403307',
    950: '#000000',
  },
}
SCSS
$custom: #403307;
$custom-light: #776a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403307",
  "rgb": {
    "r": 64,
    "g": 51,
    "b": 7
  },
  "hsl": {
    "h": 46.316,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32652,
    "c": 0.06118,
    "h": 91.4
  },
  "luminance": 0.03473
}

Semantic roles & 50–950 ramp

primary
#403307
secondary
#24397F
accent
#5EF731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090601
muted
#7B7A77

Preview Lab

Preview with #403307

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

Preview Lab → · Contrast checker → · Palette generator →

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