#404234#404234

#404234 is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.3% C 0.023 H 114.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#404234
RGBrgb(64, 66, 52)
HSLhsl(69, 12%, 23%)
HSVhsv(69, 21%, 26%)
CMYKcmyk(3%, 0%, 21.2%, 74.1%)
CIE-LABlab(27.39, -3.74, 8.26)
CIE-LCHlch(27.39, 9.07, 114.38°)
OKLaboklab(37.27% -0.0095 0.0212)
OKLCHoklch(37.27% 0.023 114.1)
XYZxyz(4.6823, 5.2344, 4.0118)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404234 #363442
analogous
#423D34 #404234 #394234
triadic
#404234 #344042 #423440
tetradic
#404234 #34423D #363442 #423439
square
#404234 #34423D #363442 #423439
split-complementary
#404234 #343942 #3D3442
monochromatic
#11110D #1F2019 #404234 #61644F #82866A

Accessibility & contrast

On white

10.26
#404234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#404234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404234
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404234#FFFFFF#000000##FFFFFF
##4042341.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444133
Deuteranopia (green-blind)
#444135
Tritanopia (blue-blind)
#42403E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #404234;
/* rgb */ color: rgb(64, 66, 52);
/* oklch */ color: oklch(37.3% 0.023 114.1);
Tailwind
colors: {
  custom: {
    50: '#75766b',
    500: '#404234',
    950: '#000000',
  },
}
SCSS
$custom: #404234;
$custom-light: #75766b;
$custom-dark: #000000;
JSON
{
  "hex": "#404234",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 52
  },
  "hsl": {
    "h": 68.571,
    "s": 11.864,
    "l": 23.137
  },
  "oklch": {
    "l": 0.37273,
    "c": 0.0232,
    "h": 114.1
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#404234
secondary
#636072
accent
#73B57C
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #404234

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

Preview Lab → · Contrast checker → · Palette generator →

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