#404030#404030

#404030 is a dark, muted yellow. Relative luminance 0.050; OKLCH L 36.7% C 0.026 H 107.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#404030
RGBrgb(64, 64, 48)
HSLhsl(60, 14%, 22%)
HSVhsv(60, 25%, 25%)
CMYKcmyk(0%, 0%, 25%, 74.9%)
CIE-LABlab(26.65, -3.21, 9.83)
CIE-LCHlch(26.65, 10.34, 108.06°)
OKLaboklab(36.65% -0.0079 0.025)
OKLCHoklch(36.65% 0.026 107.6)
XYZxyz(4.4812, 4.9702, 3.5190)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#404030 #303040
analogous
#403830 #404030 #384030
triadic
#404030 #304040 #403040
tetradic
#404030 #304038 #303040 #403038
square
#404030 #304038 #303040 #403038
split-complementary
#404030 #303840 #383040
monochromatic
#11110D #1D1D16 #404030 #63634A #868664

Accessibility & contrast

On white

10.53
#404030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#404030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #404030
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##404030#FFFFFF#000000##FFFFFF
##4040301.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2F
Deuteranopia (green-blind)
#433F31
Tritanopia (blue-blind)
#423E3C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #404030;
/* rgb */ color: rgb(64, 64, 48);
/* oklch */ color: oklch(36.7% 0.026 107.6);
Tailwind
colors: {
  custom: {
    50: '#757468',
    500: '#404030',
    950: '#000000',
  },
}
SCSS
$custom: #404030;
$custom-light: #757468;
$custom-dark: #000000;
JSON
{
  "hex": "#404030",
  "rgb": {
    "r": 64,
    "g": 64,
    "b": 48
  },
  "hsl": {
    "h": 60,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.02621,
    "h": 107.6
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#404030
secondary
#5C5C70
accent
#71B771
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #404030

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

Preview Lab → · Contrast checker → · Palette generator →

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