#404309#404309

#404309 is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.8% C 0.076 H 112.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#404309
RGBrgb(64, 67, 9)
HSLhsl(63, 76%, 15%)
HSVhsv(63, 87%, 26%)
CMYKcmyk(4.5%, 0%, 86.6%, 73.7%)
CIE-LABlab(27.09, -9.35, 32.02)
CIE-LCHlch(27.09, 33.36, 106.28°)
OKLaboklab(36.82% -0.0292 0.07)
OKLCHoklch(36.82% 0.076 112.6)
XYZxyz(4.1710, 5.1241, 1.0277)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404309 #0C0943
analogous
#432909 #404309 #234309
triadic
#404309 #094043 #430940
tetradic
#404309 #094329 #0C0943 #430923
square
#404309 #094329 #0C0943 #430923
split-complementary
#404309 #092343 #290943
monochromatic
#1A1B04 #1A1B04 #404309 #747910 #A7AF17

Accessibility & contrast

On white

10.37
#404309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#404309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404309
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404309#FFFFFF#000000##FFFFFF
##4043091.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#49410E
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404309;
/* rgb */ color: rgb(64, 67, 9);
/* oklch */ color: oklch(36.8% 0.076 112.6);
Tailwind
colors: {
  custom: {
    50: '#77774e',
    500: '#404309',
    950: '#000000',
  },
}
SCSS
$custom: #404309;
$custom-light: #77774e;
$custom-dark: #000000;
JSON
{
  "hex": "#404309",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 63.103,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.07582,
    "h": 112.6
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#404309
secondary
#2C2781
accent
#35F33F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404309

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

Preview Lab → · Contrast checker → · Palette generator →

#404309 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva