#403A28#403A28

#403A28 is a dark, muted yellow. Relative luminance 0.043; OKLCH L 34.9% C 0.030 H 91.8°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#403A28
RGBrgb(64, 58, 40)
HSLhsl(45, 23%, 20%)
HSVhsv(45, 38%, 25%)
CMYKcmyk(0%, 9.4%, 37.5%, 74.9%)
CIE-LABlab(24.54, -0.68, 12.16)
CIE-LCHlch(24.54, 12.18, 93.22°)
OKLaboklab(34.93% -0.001 0.0304)
OKLCHoklch(34.93% 0.03 91.8)
XYZxyz(4.0105, 4.2694, 2.6199)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A28 #282E40
analogous
#402E28 #403A28 #3A4028
triadic
#403A28 #28403A #3A2840
tetradic
#403A28 #28402E #282E40 #40283A
square
#403A28 #28402E #282E40 #40283A
split-complementary
#403A28 #283A40 #2E2840
monochromatic
#13110C #1A1810 #403A28 #665C40 #8B7E57

Accessibility & contrast

On white

11.33
#403A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#403A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A28
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A28#FFFFFF#000000##FFFFFF
##403A281.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3927
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#443735
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a28;
/* rgb */ color: rgb(64, 58, 40);
/* oklch */ color: oklch(34.9% 0.030 91.8);
Tailwind
colors: {
  custom: {
    50: '#757062',
    500: '#403a28',
    950: '#000000',
  },
}
SCSS
$custom: #403a28;
$custom-light: #757062;
$custom-dark: #000000;
JSON
{
  "hex": "#403a28",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 45,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.34929,
    "c": 0.03045,
    "h": 91.8
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#403A28
secondary
#525A72
accent
#7EC068
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403A28

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

Preview Lab → · Contrast checker → · Palette generator →

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