#403D30#403D30

#403D30 is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.9% C 0.022 H 96.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#403D30
RGBrgb(64, 61, 48)
HSLhsl(49, 14%, 22%)
HSVhsv(49, 25%, 25%)
CMYKcmyk(0%, 4.7%, 25%, 74.9%)
CIE-LABlab(25.69, -1.29, 8.50)
CIE-LCHlch(25.69, 8.60, 98.65°)
OKLaboklab(35.89% -0.0025 0.0217)
OKLCHoklch(35.89% 0.022 96.5)
XYZxyz(4.3166, 4.6410, 3.4641)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D30 #303340
analogous
#403530 #403D30 #3B4030
triadic
#403D30 #30403D #3D3040
tetradic
#403D30 #304035 #303340 #40303B
square
#403D30 #304035 #303340 #40303B
split-complementary
#403D30 #303B40 #353040
monochromatic
#11110D #1D1C16 #403D30 #635E4A #868064

Accessibility & contrast

On white

10.89
#403D30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403D30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D30
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D30#FFFFFF#000000##FFFFFF
##403D301.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2F
Deuteranopia (green-blind)
#413D30
Tritanopia (blue-blind)
#433B39
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403d30;
/* rgb */ color: rgb(64, 61, 48);
/* oklch */ color: oklch(35.9% 0.022 96.5);
Tailwind
colors: {
  custom: {
    50: '#757268',
    500: '#403d30',
    950: '#000000',
  },
}
SCSS
$custom: #403d30;
$custom-light: #757268;
$custom-dark: #000000;
JSON
{
  "hex": "#403d30",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 48
  },
  "hsl": {
    "h": 48.75,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.02186,
    "h": 96.5
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#403D30
secondary
#5C6070
accent
#7EB771
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403D30

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

Preview Lab → · Contrast checker → · Palette generator →

#403D30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva