#404715#404715

#404715 is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.0% C 0.072 H 116.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#404715
RGBrgb(64, 71, 21)
HSLhsl(68, 54%, 18%)
HSVhsv(68, 70%, 28%)
CMYKcmyk(9.9%, 0%, 70.4%, 72.2%)
CIE-LABlab(28.51, -10.95, 28.14)
CIE-LCHlch(28.51, 30.20, 111.25°)
OKLaboklab(38% -0.0323 0.0642)
OKLCHoklch(38% 0.072 116.7)
XYZxyz(4.5030, 5.6507, 1.5628)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404715 #1C1547
analogous
#473515 #404715 #274715
triadic
#404715 #154047 #471540
tetradic
#404715 #154735 #1C1547 #471527
square
#404715 #154735 #1C1547 #471527
split-complementary
#404715 #152747 #351547
monochromatic
#151807 #151807 #404715 #6B7623 #95A531

Accessibility & contrast

On white

9.86
#404715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#404715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404715
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404715#FFFFFF#000000##FFFFFF
##4047151.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430F
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#44433D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404715;
/* rgb */ color: rgb(64, 71, 21);
/* oklch */ color: oklch(38.0% 0.072 116.7);
Tailwind
colors: {
  custom: {
    50: '#767a55',
    500: '#404715',
    950: '#000000',
  },
}
SCSS
$custom: #404715;
$custom-light: #767a55;
$custom-dark: #000000;
JSON
{
  "hex": "#404715",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 21
  },
  "hsl": {
    "h": 68.4,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37997,
    "c": 0.07181,
    "h": 116.7
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#404715
secondary
#43397F
accent
#4ADE5F
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404715

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

Preview Lab → · Contrast checker → · Palette generator →

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