#404307#404307

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

Color values

HEX#404307
RGBrgb(64, 67, 7)
HSLhsl(63, 81%, 15%)
HSVhsv(63, 90%, 26%)
CMYKcmyk(4.5%, 0%, 89.6%, 73.7%)
CIE-LABlab(27.07, -9.45, 32.80)
CIE-LCHlch(27.07, 34.14, 106.08°)
OKLaboklab(36.81% -0.0297 0.0712)
OKLCHoklch(36.81% 0.077 112.6)
XYZxyz(4.1600, 5.1197, 0.9700)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404307 #0A0743
analogous
#432807 #404307 #224307
triadic
#404307 #074043 #430740
tetradic
#404307 #074328 #0A0743 #430722
square
#404307 #074328 #0A0743 #430722
split-complementary
#404307 #072243 #280743
monochromatic
#1A1C03 #1A1C03 #404307 #757A0D #AAB213

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404307#FFFFFF#000000##FFFFFF
##4043071.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)
#49410D
Tritanopia (blue-blind)
#453E38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404307;
/* rgb */ color: rgb(64, 67, 7);
/* oklch */ color: oklch(36.8% 0.077 112.6);
Tailwind
colors: {
  custom: {
    50: '#77764d',
    500: '#404307',
    950: '#000000',
  },
}
SCSS
$custom: #404307;
$custom-light: #77764d;
$custom-dark: #000000;
JSON
{
  "hex": "#404307",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 7
  },
  "hsl": {
    "h": 63,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36809,
    "c": 0.07711,
    "h": 112.6
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#404307
secondary
#292482
accent
#30F73A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090801
muted
#7B7B77

Preview Lab

Preview with #404307

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

Preview Lab → · Contrast checker → · Palette generator →

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