#403E06#403E06

#403E06 is a dark, moderate yellow. Relative luminance 0.045; OKLCH L 35.5% C 0.072 H 107.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#403E06
RGBrgb(64, 62, 6)
HSLhsl(58, 83%, 14%)
HSVhsv(58, 91%, 25%)
CMYKcmyk(0%, 3.1%, 90.6%, 74.9%)
CIE-LABlab(25.41, -6.47, 31.70)
CIE-LCHlch(25.41, 32.35, 101.53°)
OKLaboklab(35.48% -0.0215 0.0687)
OKLCHoklch(35.48% 0.072 107.4)
XYZxyz(3.8700, 4.5485, 0.8464)
Luminance0.0455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E06 #060840
analogous
#402106 #403E06 #254006
triadic
#403E06 #06403E #3E0640
tetradic
#403E06 #064021 #060840 #400625
square
#403E06 #064021 #060840 #400625
split-complementary
#403E06 #062540 #210640
monochromatic
#1C1B03 #1C1B03 #403E06 #78740B #B0AA10

Accessibility & contrast

On white

11.00
#403E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E06
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E06#FFFFFF#000000##FFFFFF
##403E061.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#453D0B
Tritanopia (blue-blind)
#453934
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403e06;
/* rgb */ color: rgb(64, 62, 6);
/* oklch */ color: oklch(35.5% 0.072 107.4);
Tailwind
colors: {
  custom: {
    50: '#77734c',
    500: '#403e06',
    950: '#000000',
  },
}
SCSS
$custom: #403e06;
$custom-light: #77734c;
$custom-dark: #000000;
JSON
{
  "hex": "#403e06",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 6
  },
  "hsl": {
    "h": 57.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.35475,
    "c": 0.07196,
    "h": 107.4
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#403E06
secondary
#222580
accent
#36F92F
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403E06

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

Preview Lab → · Contrast checker → · Palette generator →

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