#403F09#403F09

#403F09 is a dark, moderate yellow. Relative luminance 0.047; OKLCH L 35.8% C 0.071 H 108.4°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#403F09
RGBrgb(64, 63, 9)
HSLhsl(59, 75%, 14%)
HSVhsv(59, 86%, 25%)
CMYKcmyk(0%, 1.6%, 85.9%, 74.9%)
CIE-LABlab(25.76, -6.93, 30.80)
CIE-LCHlch(25.76, 31.57, 102.68°)
OKLaboklab(35.76% -0.0224 0.0674)
OKLCHoklch(35.76% 0.071 108.4)
XYZxyz(3.9413, 4.6649, 0.9512)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F09 #090A40
analogous
#402409 #403F09 #264009
triadic
#403F09 #09403F #3F0940
tetradic
#403F09 #094024 #090A40 #400926
square
#403F09 #094024 #090A40 #400926
split-complementary
#403F09 #092640 #240940
monochromatic
#1B1A04 #1B1A04 #403F09 #767411 #ABA918

Accessibility & contrast

On white

10.86
#403F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403F09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F09
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F09#FFFFFF#000000##FFFFFF
##403F091.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C01
Deuteranopia (green-blind)
#463E0D
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403f09;
/* rgb */ color: rgb(64, 63, 9);
/* oklch */ color: oklch(35.8% 0.071 108.4);
Tailwind
colors: {
  custom: {
    50: '#77734d',
    500: '#403f09',
    950: '#000000',
  },
}
SCSS
$custom: #403f09;
$custom-light: #77734d;
$custom-dark: #000000;
JSON
{
  "hex": "#403f09",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 9
  },
  "hsl": {
    "h": 58.909,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.35761,
    "c": 0.07102,
    "h": 108.4
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#403F09
secondary
#27297E
accent
#39F236
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #403F09

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

Preview Lab → · Contrast checker → · Palette generator →

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