#404306#404306

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

Color values

HEX#404306
RGBrgb(64, 67, 6)
HSLhsl(63, 84%, 14%)
HSVhsv(63, 91%, 26%)
CMYKcmyk(4.5%, 0%, 91%, 73.7%)
CIE-LABlab(27.07, -9.50, 33.20)
CIE-LCHlch(27.07, 34.54, 105.97°)
OKLaboklab(36.8% -0.0299 0.0718)
OKLCHoklch(36.8% 0.078 112.6)
XYZxyz(4.1545, 5.1175, 0.9412)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404306 #090643
analogous
#432806 #404306 #224306
triadic
#404306 #064043 #430640
tetradic
#404306 #064328 #090643 #430622
square
#404306 #064328 #090643 #430622
split-complementary
#404306 #062243 #280643
monochromatic
#1B1C03 #1B1C03 #404306 #767B0B #ABB310

Accessibility & contrast

On white

10.38
#404306 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404306
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404306#FFFFFF#000000##FFFFFF
##4043061.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #404306;
/* rgb */ color: rgb(64, 67, 6);
/* oklch */ color: oklch(36.8% 0.078 112.6);
Tailwind
colors: {
  custom: {
    50: '#77764d',
    500: '#404306',
    950: '#000000',
  },
}
SCSS
$custom: #404306;
$custom-light: #77764d;
$custom-dark: #000000;
JSON
{
  "hex": "#404306",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 6
  },
  "hsl": {
    "h": 62.951,
    "s": 83.562,
    "l": 14.314
  },
  "oklch": {
    "l": 0.36802,
    "c": 0.07776,
    "h": 112.6
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#404306
secondary
#272283
accent
#2EFA38
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404306

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

Preview Lab → · Contrast checker → · Palette generator →

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