#403A06#403A06

#403A06 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.4% C 0.068 H 102.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#403A06
RGBrgb(64, 58, 6)
HSLhsl(54, 83%, 14%)
HSVhsv(54, 91%, 25%)
CMYKcmyk(0%, 9.4%, 90.6%, 74.9%)
CIE-LABlab(24.09, -3.97, 30.44)
CIE-LCHlch(24.09, 30.69, 97.43°)
OKLaboklab(34.43% -0.0145 0.0662)
OKLCHoklch(34.43% 0.068 102.4)
XYZxyz(3.6605, 4.1294, 0.7765)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A06 #060C40
analogous
#401D06 #403A06 #294006
triadic
#403A06 #06403A #3A0640
tetradic
#403A06 #06401D #060C40 #400629
square
#403A06 #06401D #060C40 #400629
split-complementary
#403A06 #062940 #1D0640
monochromatic
#1C1903 #1C1903 #403A06 #786D0B #B09F10

Accessibility & contrast

On white

11.50
#403A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A06
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A06#FFFFFF#000000##FFFFFF
##403A061.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#423A0A
Tritanopia (blue-blind)
#463530
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a06;
/* rgb */ color: rgb(64, 58, 6);
/* oklch */ color: oklch(34.4% 0.068 102.4);
Tailwind
colors: {
  custom: {
    50: '#776f4b',
    500: '#403a06',
    950: '#000000',
  },
}
SCSS
$custom: #403a06;
$custom-light: #776f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403a06",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 53.793,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.34429,
    "c": 0.06777,
    "h": 102.4
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#403A06
secondary
#222C80
accent
#44F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A06

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

Preview Lab → · Contrast checker → · Palette generator →

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