#404028#404028

#404028 is a dark, muted yellow. Relative luminance 0.049; OKLCH L 36.5% C 0.038 H 108.2°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#404028
RGBrgb(64, 64, 40)
HSLhsl(60, 23%, 20%)
HSVhsv(60, 38%, 25%)
CMYKcmyk(0%, 0%, 37.5%, 74.9%)
CIE-LABlab(26.48, -4.51, 14.72)
CIE-LCHlch(26.48, 15.40, 107.01°)
OKLaboklab(36.46% -0.012 0.0365)
OKLCHoklch(36.46% 0.038 108.2)
XYZxyz(4.3308, 4.9101, 2.7267)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404028 #282840
analogous
#403428 #404028 #344028
triadic
#404028 #284040 #402840
tetradic
#404028 #284034 #282840 #402834
square
#404028 #284034 #282840 #402834
split-complementary
#404028 #283440 #342840
monochromatic
#13130C #1A1A10 #404028 #666640 #8B8B57

Accessibility & contrast

On white

10.60
#404028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#404028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404028
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404028#FFFFFF#000000##FFFFFF
##4040281.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#443F29
Tritanopia (blue-blind)
#433D3A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404028;
/* rgb */ color: rgb(64, 64, 40);
/* oklch */ color: oklch(36.5% 0.038 108.2);
Tailwind
colors: {
  custom: {
    50: '#757462',
    500: '#404028',
    950: '#000000',
  },
}
SCSS
$custom: #404028;
$custom-light: #757462;
$custom-dark: #000000;
JSON
{
  "hex": "#404028",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.03836,
    "h": 108.2
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#404028
secondary
#525272
accent
#68C068
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #404028

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

Preview Lab → · Contrast checker → · Palette generator →

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