#404714#404714

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

Color values

HEX#404714
RGBrgb(64, 71, 20)
HSLhsl(68, 56%, 18%)
HSVhsv(68, 72%, 28%)
CMYKcmyk(9.9%, 0%, 71.8%, 72.2%)
CIE-LABlab(28.50, -11.03, 28.63)
CIE-LCHlch(28.50, 30.68, 111.06°)
OKLaboklab(37.99% -0.0326 0.065)
OKLCHoklch(37.99% 0.073 116.6)
XYZxyz(4.4940, 5.6470, 1.5149)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404714 #1B1447
analogous
#473414 #404714 #264714
triadic
#404714 #144047 #471440
tetradic
#404714 #144734 #1B1447 #471426
square
#404714 #144734 #1B1447 #471426
split-complementary
#404714 #142647 #341447
monochromatic
#161807 #161807 #404714 #6B7721 #96A62F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##404714#FFFFFF#000000##FFFFFF
##4047141.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)
#4C430D
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#44433D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #404714;
/* rgb */ color: rgb(64, 71, 20);
/* oklch */ color: oklch(38.0% 0.073 116.6);
Tailwind
colors: {
  custom: {
    50: '#777a54',
    500: '#404714',
    950: '#000000',
  },
}
SCSS
$custom: #404714;
$custom-light: #777a54;
$custom-dark: #000000;
JSON
{
  "hex": "#404714",
  "rgb": {
    "r": 64,
    "g": 71,
    "b": 20
  },
  "hsl": {
    "h": 68.235,
    "s": 56.044,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.07273,
    "h": 116.6
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#404714
secondary
#41387F
accent
#48DF5D
background
#F7F7F5
surface
#EDEDE8
border
#C8C8C4
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404714

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

Preview Lab → · Contrast checker → · Palette generator →

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