#404308#404308

#404308 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#404308
RGBrgb(64, 67, 8)
HSLhsl(63, 79%, 15%)
HSVhsv(63, 88%, 26%)
CMYKcmyk(4.5%, 0%, 88.1%, 73.7%)
CIE-LABlab(27.08, -9.40, 32.41)
CIE-LCHlch(27.08, 33.74, 106.18°)
OKLaboklab(36.82% -0.0294 0.0706)
OKLCHoklch(36.82% 0.076 112.6)
XYZxyz(4.1655, 5.1219, 0.9989)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404308 #0B0843
analogous
#432908 #404308 #234308
triadic
#404308 #084043 #430840
tetradic
#404308 #084329 #0B0843 #430823
square
#404308 #084329 #0B0843 #430823
split-complementary
#404308 #082343 #290843
monochromatic
#1A1B03 #1A1B03 #404308 #747A0F #A8B015

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #404308;
/* rgb */ color: rgb(64, 67, 8);
/* oklch */ color: oklch(36.8% 0.076 112.6);
Tailwind
colors: {
  custom: {
    50: '#77764e',
    500: '#404308',
    950: '#000000',
  },
}
SCSS
$custom: #404308;
$custom-light: #77764e;
$custom-dark: #000000;
JSON
{
  "hex": "#404308",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 63.051,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.36815,
    "c": 0.07646,
    "h": 112.6
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#404308
secondary
#2A2581
accent
#33F53D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #404308

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

Preview Lab → · Contrast checker → · Palette generator →

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