#404124#404124

#404124 is a dark, muted yellow. Relative luminance 0.050; OKLCH L 36.6% C 0.046 H 110.2°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#404124
RGBrgb(64, 65, 36)
HSLhsl(62, 29%, 20%)
HSVhsv(62, 45%, 25%)
CMYKcmyk(1.5%, 0%, 44.6%, 74.5%)
CIE-LABlab(26.73, -5.70, 17.55)
CIE-LCHlch(26.73, 18.45, 107.99°)
OKLaboklab(36.64% -0.0157 0.0428)
OKLCHoklch(36.64% 0.046 110.2)
XYZxyz(4.3231, 4.9980, 2.4057)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404124 #252441
analogous
#413424 #404124 #324124
triadic
#404124 #244041 #412440
tetradic
#404124 #244134 #252441 #412432
square
#404124 #244134 #252441 #412432
split-complementary
#404124 #243241 #342441
monochromatic
#13140B #191A0E #404124 #67683A #8E9050

Accessibility & contrast

On white

10.50
#404124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#404124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404124
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404124#FFFFFF#000000##FFFFFF
##4041241.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F22
Deuteranopia (green-blind)
#454025
Tritanopia (blue-blind)
#443E3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404124;
/* rgb */ color: rgb(64, 65, 36);
/* oklch */ color: oklch(36.6% 0.046 110.2);
Tailwind
colors: {
  custom: {
    50: '#75755f',
    500: '#404124',
    950: '#000000',
  },
}
SCSS
$custom: #404124;
$custom-light: #75755f;
$custom-dark: #000000;
JSON
{
  "hex": "#404124",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 36
  },
  "hsl": {
    "h": 62.069,
    "s": 28.713,
    "l": 19.804
  },
  "oklch": {
    "l": 0.36636,
    "c": 0.04554,
    "h": 110.2
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#404124
secondary
#4E4D74
accent
#63C566
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080804
muted
#7B7B79

Preview Lab

Preview with #404124

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

Preview Lab → · Contrast checker → · Palette generator →

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