#403C08#403C08

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

Color values

HEX#403C08
RGBrgb(64, 60, 8)
HSLhsl(56, 78%, 14%)
HSVhsv(56, 88%, 25%)
CMYKcmyk(0%, 6.2%, 87.5%, 74.9%)
CIE-LABlab(24.76, -5.12, 30.27)
CIE-LCHlch(24.76, 30.70, 99.60°)
OKLaboklab(34.97% -0.0175 0.0661)
OKLCHoklch(34.97% 0.068 104.8)
XYZxyz(3.7742, 4.3394, 0.8685)
Luminance0.0434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C08 #080C40
analogous
#402008 #403C08 #284008
triadic
#403C08 #08403C #3C0840
tetradic
#403C08 #084020 #080C40 #400828
square
#403C08 #084020 #080C40 #400828
split-complementary
#403C08 #082840 #200840
monochromatic
#1B1903 #1B1903 #403C08 #766F0F #ADA216

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403C08#FFFFFF#000000##FFFFFF
##403C081.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)
#423A01
Deuteranopia (green-blind)
#443C0C
Tritanopia (blue-blind)
#463732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c08;
/* rgb */ color: rgb(64, 60, 8);
/* oklch */ color: oklch(35.0% 0.068 104.8);
Tailwind
colors: {
  custom: {
    50: '#77714c',
    500: '#403c08',
    950: '#000000',
  },
}
SCSS
$custom: #403c08;
$custom-light: #77714c;
$custom-dark: #000000;
JSON
{
  "hex": "#403c08",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 55.714,
    "s": 77.778,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.06839,
    "h": 104.8
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#403C08
secondary
#252C7E
accent
#41F434
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C08

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

Preview Lab → · Contrast checker → · Palette generator →

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