#404136#404136

#404136 is a dark, near-neutral yellow. Relative luminance 0.051; OKLCH L 37.1% C 0.018 H 111.5°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#404136
RGBrgb(64, 65, 54)
HSLhsl(65, 9%, 23%)
HSVhsv(65, 17%, 25%)
CMYKcmyk(1.5%, 0%, 16.9%, 74.5%)
CIE-LABlab(27.12, -2.73, 6.59)
CIE-LCHlch(27.12, 7.13, 112.53°)
OKLaboklab(37.08% -0.0067 0.017)
OKLCHoklch(37.08% 0.018 111.5)
XYZxyz(4.6704, 5.1370, 4.2348)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404136 #373641
analogous
#413C36 #404136 #3A4136
triadic
#404136 #364041 #413640
tetradic
#404136 #36413C #373641 #41363A
square
#404136 #36413C #373641 #41363A
split-complementary
#404136 #363A41 #3C3641
monochromatic
#10110E #1F201A #404136 #616252 #82846E

Accessibility & contrast

On white

10.36
#404136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#404136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404136
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404136#FFFFFF#000000##FFFFFF
##4041361.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434035
Deuteranopia (green-blind)
#434036
Tritanopia (blue-blind)
#42403E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #404136;
/* rgb */ color: rgb(64, 65, 54);
/* oklch */ color: oklch(37.1% 0.018 111.5);
Tailwind
colors: {
  custom: {
    50: '#74756d',
    500: '#404136',
    950: '#000000',
  },
}
SCSS
$custom: #404136;
$custom-light: #74756d;
$custom-dark: #000000;
JSON
{
  "hex": "#404136",
  "rgb": {
    "r": 64,
    "g": 65,
    "b": 54
  },
  "hsl": {
    "h": 65.455,
    "s": 9.244,
    "l": 23.333
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.01826,
    "h": 111.5
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#404136
secondary
#646370
accent
#76B27B
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080807
muted
#7B7B7A

Preview Lab

Preview with #404136

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

Preview Lab → · Contrast checker → · Palette generator →

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