#403C09#403C09

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

Color values

HEX#403C09
RGBrgb(64, 60, 9)
HSLhsl(56, 75%, 14%)
HSVhsv(56, 86%, 25%)
CMYKcmyk(0%, 6.2%, 85.9%, 74.9%)
CIE-LABlab(24.77, -5.07, 29.87)
CIE-LCHlch(24.77, 30.30, 99.63°)
OKLaboklab(34.97% -0.0172 0.0655)
OKLCHoklch(34.97% 0.068 104.7)
XYZxyz(3.7797, 4.3416, 0.8973)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C09 #090D40
analogous
#402109 #403C09 #294009
triadic
#403C09 #09403C #3C0940
tetradic
#403C09 #094021 #090D40 #400929
square
#403C09 #094021 #090D40 #400929
split-complementary
#403C09 #092940 #210940
monochromatic
#1B1904 #1B1904 #403C09 #766E11 #ABA118

Accessibility & contrast

On white

11.24
#403C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C09
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C09#FFFFFF#000000##FFFFFF
##403C091.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c09;
/* rgb */ color: rgb(64, 60, 9);
/* oklch */ color: oklch(35.0% 0.068 104.7);
Tailwind
colors: {
  custom: {
    50: '#77714d',
    500: '#403c09',
    950: '#000000',
  },
}
SCSS
$custom: #403c09;
$custom-light: #77714d;
$custom-dark: #000000;
JSON
{
  "hex": "#403c09",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 9
  },
  "hsl": {
    "h": 55.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34973,
    "c": 0.06769,
    "h": 104.7
  },
  "luminance": 0.04341
}

Semantic roles & 50–950 ramp

primary
#403C09
secondary
#272D7E
accent
#44F236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C09

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

Preview Lab → · Contrast checker → · Palette generator →

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