#403E28#403E28

#403E28 is a dark, muted yellow. Relative luminance 0.047; OKLCH L 35.9% C 0.035 H 103.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#403E28
RGBrgb(64, 62, 40)
HSLhsl(55, 23%, 20%)
HSVhsv(55, 38%, 25%)
CMYKcmyk(0%, 3.1%, 37.5%, 74.9%)
CIE-LABlab(25.83, -3.24, 13.87)
CIE-LCHlch(25.83, 14.24, 103.17°)
OKLaboklab(35.95% -0.0083 0.0345)
OKLCHoklch(35.95% 0.035 103.6)
XYZxyz(4.2200, 4.6885, 2.6897)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E28 #282A40
analogous
#403228 #403E28 #364028
triadic
#403E28 #28403E #3E2840
tetradic
#403E28 #284032 #282A40 #402836
square
#403E28 #284032 #282A40 #402836
split-complementary
#403E28 #283640 #322840
monochromatic
#13120C #1A1A10 #403E28 #666240 #8B8757

Accessibility & contrast

On white

10.84
#403E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#403E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E28
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E28#FFFFFF#000000##FFFFFF
##403E281.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C26
Deuteranopia (green-blind)
#433E29
Tritanopia (blue-blind)
#433B38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e28;
/* rgb */ color: rgb(64, 62, 40);
/* oklch */ color: oklch(35.9% 0.035 103.6);
Tailwind
colors: {
  custom: {
    50: '#757362',
    500: '#403e28',
    950: '#000000',
  },
}
SCSS
$custom: #403e28;
$custom-light: #757362;
$custom-dark: #000000;
JSON
{
  "hex": "#403e28",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 55,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.35945,
    "c": 0.03545,
    "h": 103.6
  },
  "luminance": 0.04688
}

Semantic roles & 50–950 ramp

primary
#403E28
secondary
#525572
accent
#70C068
background
#F7F6F5
surface
#EDECEA
border
#C8C7C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403E28

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

Preview Lab → · Contrast checker → · Palette generator →

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