#403C06#403C06

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

Color values

HEX#403C06
RGBrgb(64, 60, 6)
HSLhsl(56, 83%, 14%)
HSVhsv(56, 91%, 25%)
CMYKcmyk(0%, 6.2%, 90.6%, 74.9%)
CIE-LABlab(24.75, -5.23, 31.07)
CIE-LCHlch(24.75, 31.51, 99.55°)
OKLaboklab(34.95% -0.018 0.0674)
OKLCHoklch(34.95% 0.07 105)
XYZxyz(3.7633, 4.3350, 0.8108)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C06 #060A40
analogous
#401F06 #403C06 #274006
triadic
#403C06 #06403C #3C0640
tetradic
#403C06 #06401F #060A40 #400627
square
#403C06 #06401F #060A40 #400627
split-complementary
#403C06 #062740 #1F0640
monochromatic
#1C1A03 #1C1A03 #403C06 #78700B #B0A510

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403C06#FFFFFF#000000##FFFFFF
##403C061.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)
#423900
Deuteranopia (green-blind)
#443C0A
Tritanopia (blue-blind)
#463732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c06;
/* rgb */ color: rgb(64, 60, 6);
/* oklch */ color: oklch(34.9% 0.070 105.0);
Tailwind
colors: {
  custom: {
    50: '#77714b',
    500: '#403c06',
    950: '#000000',
  },
}
SCSS
$custom: #403c06;
$custom-light: #77714b;
$custom-dark: #000000;
JSON
{
  "hex": "#403c06",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 55.862,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.06981,
    "h": 105
  },
  "luminance": 0.04335
}

Semantic roles & 50–950 ramp

primary
#403C06
secondary
#222880
accent
#3DF92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C06

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

Preview Lab → · Contrast checker → · Palette generator →

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