#403C07#403C07

#403C07 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 35.0% C 0.069 H 104.9°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#403C07
RGBrgb(64, 60, 7)
HSLhsl(56, 80%, 14%)
HSVhsv(56, 89%, 25%)
CMYKcmyk(0%, 6.2%, 89.1%, 74.9%)
CIE-LABlab(24.76, -5.17, 30.67)
CIE-LCHlch(24.76, 31.11, 99.58°)
OKLaboklab(34.96% -0.0178 0.0668)
OKLCHoklch(34.96% 0.069 104.9)
XYZxyz(3.7687, 4.3372, 0.8396)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C07 #070B40
analogous
#402007 #403C07 #284007
triadic
#403C07 #07403C #3C0740
tetradic
#403C07 #074020 #070B40 #400728
square
#403C07 #074020 #070B40 #400728
split-complementary
#403C07 #072840 #200740
monochromatic
#1C1A03 #1C1A03 #403C07 #77700D #AEA313

Accessibility & contrast

On white

11.25
#403C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C07
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C07#FFFFFF#000000##FFFFFF
##403C071.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A00
Deuteranopia (green-blind)
#443C0B
Tritanopia (blue-blind)
#463732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c07;
/* rgb */ color: rgb(64, 60, 7);
/* oklch */ color: oklch(35.0% 0.069 104.9);
Tailwind
colors: {
  custom: {
    50: '#77714c',
    500: '#403c07',
    950: '#000000',
  },
}
SCSS
$custom: #403c07;
$custom-light: #77714c;
$custom-dark: #000000;
JSON
{
  "hex": "#403c07",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 55.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.06909,
    "h": 104.9
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#403C07
secondary
#242A7F
accent
#3FF731
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C07

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

Preview Lab → · Contrast checker → · Palette generator →

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