#403D06#403D06

#403D06 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.2% C 0.071 H 106.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#403D06
RGBrgb(64, 61, 6)
HSLhsl(57, 83%, 14%)
HSVhsv(57, 91%, 25%)
CMYKcmyk(0%, 4.7%, 90.6%, 74.9%)
CIE-LABlab(25.08, -5.85, 31.39)
CIE-LCHlch(25.08, 31.93, 100.56°)
OKLaboklab(35.21% -0.0198 0.0681)
OKLCHoklch(35.21% 0.071 106.2)
XYZxyz(3.8161, 4.4408, 0.8284)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D06 #060940
analogous
#402006 #403D06 #264006
triadic
#403D06 #06403D #3D0640
tetradic
#403D06 #064020 #060940 #400626
square
#403D06 #064020 #060940 #400626
split-complementary
#403D06 #062640 #200640
monochromatic
#1C1B03 #1C1B03 #403D06 #78720B #B0A810

Accessibility & contrast

On white

11.12
#403D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D06
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D06#FFFFFF#000000##FFFFFF
##403D061.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#443C0A
Tritanopia (blue-blind)
#463833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403d06;
/* rgb */ color: rgb(64, 61, 6);
/* oklch */ color: oklch(35.2% 0.071 106.2);
Tailwind
colors: {
  custom: {
    50: '#77724c',
    500: '#403d06',
    950: '#000000',
  },
}
SCSS
$custom: #403d06;
$custom-light: #77724c;
$custom-dark: #000000;
JSON
{
  "hex": "#403d06",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 6
  },
  "hsl": {
    "h": 56.897,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.35212,
    "c": 0.07087,
    "h": 106.2
  },
  "luminance": 0.04441
}

Semantic roles & 50–950 ramp

primary
#403D06
secondary
#222780
accent
#39F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403D06

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

Preview Lab → · Contrast checker → · Palette generator →

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