#403E09#403E09

#403E09 is a dark, moderate yellow. Relative luminance 0.046; OKLCH L 35.5% C 0.070 H 107.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#403E09
RGBrgb(64, 62, 9)
HSLhsl(58, 75%, 14%)
HSVhsv(58, 86%, 25%)
CMYKcmyk(0%, 3.1%, 85.9%, 74.9%)
CIE-LABlab(25.43, -6.31, 30.50)
CIE-LCHlch(25.43, 31.14, 101.69°)
OKLaboklab(35.5% -0.0207 0.0668)
OKLCHoklch(35.5% 0.07 107.2)
XYZxyz(3.8864, 4.5551, 0.9329)
Luminance0.0456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E09 #090B40
analogous
#402309 #403E09 #274009
triadic
#403E09 #09403E #3E0940
tetradic
#403E09 #094023 #090B40 #400927
square
#403E09 #094023 #090B40 #400927
split-complementary
#403E09 #092740 #230940
monochromatic
#1B1A04 #1B1A04 #403E09 #767211 #ABA618

Accessibility & contrast

On white

10.99
#403E09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E09
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E09#FFFFFF#000000##FFFFFF
##403E091.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403e09;
/* rgb */ color: rgb(64, 62, 9);
/* oklch */ color: oklch(35.5% 0.070 107.2);
Tailwind
colors: {
  custom: {
    50: '#77734d',
    500: '#403e09',
    950: '#000000',
  },
}
SCSS
$custom: #403e09;
$custom-light: #77734d;
$custom-dark: #000000;
JSON
{
  "hex": "#403e09",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 9
  },
  "hsl": {
    "h": 57.818,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35497,
    "c": 0.06989,
    "h": 107.2
  },
  "luminance": 0.04555
}

Semantic roles & 50–950 ramp

primary
#403E09
secondary
#272A7E
accent
#3DF236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403E09

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

Preview Lab → · Contrast checker → · Palette generator →

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