#404036#404036

#404036 is a dark, near-neutral yellow. Relative luminance 0.050; OKLCH L 36.8% C 0.017 H 107.2°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#404036
RGBrgb(64, 64, 54)
HSLhsl(60, 8%, 23%)
HSVhsv(60, 16%, 25%)
CMYKcmyk(0%, 0%, 15.6%, 74.9%)
CIE-LABlab(26.80, -2.10, 6.13)
CIE-LCHlch(26.80, 6.48, 108.87°)
OKLaboklab(36.82% -0.0049 0.0159)
OKLCHoklch(36.82% 0.017 107.2)
XYZxyz(4.6135, 5.0232, 4.2158)
Luminance0.0502 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404036 #363640
analogous
#403B36 #404036 #3B4036
triadic
#404036 #364040 #403640
tetradic
#404036 #36403B #363640 #40363B
square
#404036 #36403B #363640 #40363B
split-complementary
#404036 #363B40 #3B3640
monochromatic
#11110E #1F1F1A #404036 #616152 #82826E

Accessibility & contrast

On white

10.48
#404036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #404036
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404036#FFFFFF#000000##FFFFFF
##4040361.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F35
Deuteranopia (green-blind)
#424036
Tritanopia (blue-blind)
#423F3D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404036;
/* rgb */ color: rgb(64, 64, 54);
/* oklch */ color: oklch(36.8% 0.017 107.2);
Tailwind
colors: {
  custom: {
    50: '#74746d',
    500: '#404036',
    950: '#000000',
  },
}
SCSS
$custom: #404036;
$custom-light: #74746d;
$custom-dark: #000000;
JSON
{
  "hex": "#404036",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 54
  },
  "hsl": {
    "h": 60,
    "s": 8.475,
    "l": 23.137
  },
  "oklch": {
    "l": 0.36822,
    "c": 0.0166,
    "h": 107.2
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#404036
secondary
#63636F
accent
#76B176
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #404036

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

Preview Lab → · Contrast checker → · Palette generator →

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