#404515#404515

#404515 is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.5% C 0.069 H 114.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#404515
RGBrgb(64, 69, 21)
HSLhsl(66, 53%, 18%)
HSVhsv(66, 70%, 27%)
CMYKcmyk(7.2%, 0%, 69.6%, 72.9%)
CIE-LABlab(27.85, -9.76, 27.43)
CIE-LCHlch(27.85, 29.11, 109.59°)
OKLaboklab(37.46% -0.029 0.0626)
OKLCHoklch(37.46% 0.069 114.8)
XYZxyz(4.3779, 5.4004, 1.5211)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404515 #1A1545
analogous
#453215 #404515 #284515
triadic
#404515 #154045 #451540
tetradic
#404515 #154532 #1A1545 #451528
square
#404515 #154532 #1A1545 #451528
split-complementary
#404515 #152845 #321545
monochromatic
#161707 #161707 #404515 #6C7423 #97A332

Accessibility & contrast

On white

10.10
#404515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#404515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404515
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404515#FFFFFF#000000##FFFFFF
##4045151.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410F
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#44413B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #404515;
/* rgb */ color: rgb(64, 69, 21);
/* oklch */ color: oklch(37.5% 0.069 114.8);
Tailwind
colors: {
  custom: {
    50: '#767855',
    500: '#404515',
    950: '#000000',
  },
}
SCSS
$custom: #404515;
$custom-light: #767855;
$custom-dark: #000000;
JSON
{
  "hex": "#404515",
  "rgb": {
    "r": 64,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 66.25,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.06901,
    "h": 114.8
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#404515
secondary
#40397D
accent
#4BDD5A
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #404515

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

Preview Lab → · Contrast checker → · Palette generator →

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