#403C30#403C30

#403C30 is a dark, muted yellow. Relative luminance 0.045; OKLCH L 35.6% C 0.021 H 91.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#403C30
RGBrgb(64, 60, 48)
HSLhsl(45, 14%, 22%)
HSVhsv(45, 25%, 25%)
CMYKcmyk(0%, 6.2%, 25%, 74.9%)
CIE-LABlab(25.37, -0.65, 8.06)
CIE-LCHlch(25.37, 8.08, 94.60°)
OKLaboklab(35.64% -0.0006 0.0206)
OKLCHoklch(35.64% 0.021 91.8)
XYZxyz(4.2637, 4.5352, 3.4465)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C30 #303440
analogous
#403430 #403C30 #3C4030
triadic
#403C30 #30403C #3C3040
tetradic
#403C30 #304034 #303440 #40303C
square
#403C30 #304034 #303440 #40303C
split-complementary
#403C30 #303C40 #343040
monochromatic
#11100D #1D1B16 #403C30 #635D4A #867E64

Accessibility & contrast

On white

11.01
#403C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#403C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C30
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C30#FFFFFF#000000##FFFFFF
##403C301.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2F
Deuteranopia (green-blind)
#403D30
Tritanopia (blue-blind)
#433A39
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #403c30;
/* rgb */ color: rgb(64, 60, 48);
/* oklch */ color: oklch(35.6% 0.021 91.8);
Tailwind
colors: {
  custom: {
    50: '#757168',
    500: '#403c30',
    950: '#000000',
  },
}
SCSS
$custom: #403c30;
$custom-light: #757168;
$custom-dark: #000000;
JSON
{
  "hex": "#403c30",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 48
  },
  "hsl": {
    "h": 45,
    "s": 14.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.02064,
    "h": 91.8
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

primary
#403C30
secondary
#5C6170
accent
#82B771
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080706
muted
#7B7A7A

Preview Lab

Preview with #403C30

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

Preview Lab → · Contrast checker → · Palette generator →

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