#404115#404115

#404115 is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.4% C 0.064 H 110.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#404115
RGBrgb(64, 65, 21)
HSLhsl(61, 51%, 17%)
HSVhsv(61, 68%, 25%)
CMYKcmyk(1.5%, 0%, 67.7%, 74.5%)
CIE-LABlab(26.52, -7.35, 25.99)
CIE-LCHlch(26.52, 27.01, 105.79°)
OKLaboklab(36.4% -0.0222 0.0596)
OKLCHoklch(36.4% 0.064 110.4)
XYZxyz(4.1401, 4.9248, 1.4418)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404115 #161541
analogous
#412C15 #404115 #2A4115
triadic
#404115 #154041 #411540
tetradic
#404115 #15412C #161541 #41152A
square
#404115 #15412C #161541 #41152A
split-complementary
#404115 #152A41 #2C1541
monochromatic
#171707 #171707 #404115 #6E6F24 #9B9E33

Accessibility & contrast

On white

10.58
#404115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#404115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404115
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404115#FFFFFF#000000##FFFFFF
##4041151.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E10
Deuteranopia (green-blind)
#473F18
Tritanopia (blue-blind)
#453D38
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404115;
/* rgb */ color: rgb(64, 65, 21);
/* oklch */ color: oklch(36.4% 0.064 110.4);
Tailwind
colors: {
  custom: {
    50: '#767554',
    500: '#404115',
    950: '#000000',
  },
}
SCSS
$custom: #404115;
$custom-light: #767554;
$custom-dark: #000000;
JSON
{
  "hex": "#404115",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 61.364,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36401,
    "c": 0.06359,
    "h": 110.4
  },
  "luminance": 0.04925
}

Semantic roles & 50–950 ramp

primary
#404115
secondary
#3B3979
accent
#4DDB50
background
#F7F7F4
surface
#EDEDE8
border
#C8C8C4
text
#090803
muted
#7B7B78

Preview Lab

Preview with #404115

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

Preview Lab → · Contrast checker → · Palette generator →

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