#403607#403607

#403607 is a dark, moderate yellow. Relative luminance 0.037; OKLCH L 33.4% C 0.063 H 96.4°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#403607
RGBrgb(64, 54, 7)
HSLhsl(49, 80%, 14%)
HSVhsv(49, 89%, 25%)
CMYKcmyk(0%, 15.6%, 89.1%, 74.9%)
CIE-LABlab(22.81, -1.36, 28.73)
CIE-LCHlch(22.81, 28.76, 92.72°)
OKLaboklab(33.41% -0.007 0.063)
OKLCHoklch(33.41% 0.063 96.4)
XYZxyz(3.4721, 3.7439, 0.7407)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403607 #071140
analogous
#401A07 #403607 #2E4007
triadic
#403607 #074036 #360740
tetradic
#403607 #07401A #071140 #40072E
square
#403607 #07401A #071140 #40072E
split-complementary
#403607 #072E40 #1A0740
monochromatic
#1C1703 #1C1703 #403607 #77650D #AE9313

Accessibility & contrast

On white

12.01
#403607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#403607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403607
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403607#FFFFFF#000000##FFFFFF
##4036071.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3501
Deuteranopia (green-blind)
#3F380A
Tritanopia (blue-blind)
#46312D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #403607;
/* rgb */ color: rgb(64, 54, 7);
/* oklch */ color: oklch(33.4% 0.063 96.4);
Tailwind
colors: {
  custom: {
    50: '#776c4b',
    500: '#403607',
    950: '#000000',
  },
}
SCSS
$custom: #403607;
$custom-light: #776c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403607",
  "rgb": {
    "r": 64,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 49.474,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33409,
    "c": 0.06341,
    "h": 96.4
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#403607
secondary
#24347F
accent
#54F731
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403607

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

Preview Lab → · Contrast checker → · Palette generator →

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