#404316#404316

#404316 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 36.9% C 0.065 H 112.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#404316
RGBrgb(64, 67, 22)
HSLhsl(64, 51%, 17%)
HSVhsv(64, 67%, 26%)
CMYKcmyk(4.5%, 0%, 67.2%, 73.7%)
CIE-LABlab(27.19, -8.48, 26.20)
CIE-LCHlch(27.19, 27.54, 107.93°)
OKLaboklab(36.94% -0.0252 0.0602)
OKLCHoklch(36.94% 0.065 112.7)
XYZxyz(4.2664, 5.1623, 1.5306)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404316 #191643
analogous
#433016 #404316 #2A4316
triadic
#404316 #164043 #431640
tetradic
#404316 #164330 #191643 #43162A
square
#404316 #164330 #191643 #43162A
split-complementary
#404316 #162A43 #301643
monochromatic
#161708 #161708 #404316 #6C7125 #989F34

Accessibility & contrast

On white

10.33
#404316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#404316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404316
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404316#FFFFFF#000000##FFFFFF
##4043161.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484011
Deuteranopia (green-blind)
#484119
Tritanopia (blue-blind)
#443F39
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404316;
/* rgb */ color: rgb(64, 67, 22);
/* oklch */ color: oklch(36.9% 0.065 112.7);
Tailwind
colors: {
  custom: {
    50: '#767755',
    500: '#404316',
    950: '#000000',
  },
}
SCSS
$custom: #404316;
$custom-light: #767755;
$custom-dark: #000000;
JSON
{
  "hex": "#404316",
  "rgb": {
    "r": 64,
    "g": 67,
    "b": 22
  },
  "hsl": {
    "h": 64,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36942,
    "c": 0.06527,
    "h": 112.7
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#404316
secondary
#3F3A7A
accent
#4EDA57
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #404316

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

Preview Lab → · Contrast checker → · Palette generator →

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