#404231#404231

#404231 is a dark, muted yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.028 H 113.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#404231
RGBrgb(64, 66, 49)
HSLhsl(67, 15%, 23%)
HSVhsv(67, 26%, 26%)
CMYKcmyk(3%, 0%, 25.8%, 74.1%)
CIE-LABlab(27.32, -4.29, 10.10)
CIE-LCHlch(27.32, 10.97, 113.01°)
OKLaboklab(37.19% -0.011 0.0257)
OKLCHoklch(37.19% 0.028 113.2)
XYZxyz(4.6169, 5.2082, 3.6672)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404231 #333142
analogous
#423C31 #404231 #374231
triadic
#404231 #314042 #423140
tetradic
#404231 #31423C #333142 #423137
square
#404231 #31423C #333142 #423137
split-complementary
#404231 #313742 #3C3142
monochromatic
#11120D #1E1F17 #404231 #62654B #848865

Accessibility & contrast

On white

10.29
#404231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#404231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404231
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404231#FFFFFF#000000##FFFFFF
##4042311.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454030
Deuteranopia (green-blind)
#454132
Tritanopia (blue-blind)
#42403D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #404231;
/* rgb */ color: rgb(64, 66, 49);
/* oklch */ color: oklch(37.2% 0.028 113.2);
Tailwind
colors: {
  custom: {
    50: '#757669',
    500: '#404231',
    950: '#000000',
  },
}
SCSS
$custom: #404231;
$custom-light: #757669;
$custom-dark: #000000;
JSON
{
  "hex": "#404231",
  "rgb": {
    "r": 64,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 67.059,
    "s": 14.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.37192,
    "c": 0.02792,
    "h": 113.2
  },
  "luminance": 0.05208
}

Semantic roles & 50–950 ramp

primary
#404231
secondary
#5F5D72
accent
#70B879
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #404231

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

Preview Lab → · Contrast checker → · Palette generator →

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