#403A26#403A26

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

Color values

HEX#403A26
RGBrgb(64, 58, 38)
HSLhsl(46, 25%, 20%)
HSVhsv(46, 41%, 25%)
CMYKcmyk(0%, 9.4%, 40.6%, 74.9%)
CIE-LABlab(24.50, -0.98, 13.40)
CIE-LCHlch(24.50, 13.44, 94.20°)
OKLaboklab(34.88% -0.002 0.0333)
OKLCHoklch(34.88% 0.033 93.4)
XYZxyz(3.9773, 4.2562, 2.4454)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A26 #262C40
analogous
#402D26 #403A26 #394026
triadic
#403A26 #26403A #3A2640
tetradic
#403A26 #26402D #262C40 #402639
square
#403A26 #26402D #262C40 #402639
split-complementary
#403A26 #263940 #2D2640
monochromatic
#13110B #1A170F #403A26 #665D3D #8D8054

Accessibility & contrast

On white

11.34
#403A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403A26
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A26#FFFFFF#000000##FFFFFF
##403A261.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3925
Deuteranopia (green-blind)
#403B27
Tritanopia (blue-blind)
#443735
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #403a26;
/* rgb */ color: rgb(64, 58, 38);
/* oklch */ color: oklch(34.9% 0.033 93.4);
Tailwind
colors: {
  custom: {
    50: '#757060',
    500: '#403a26',
    950: '#000000',
  },
}
SCSS
$custom: #403a26;
$custom-light: #757060;
$custom-dark: #000000;
JSON
{
  "hex": "#403a26",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 38
  },
  "hsl": {
    "h": 46.154,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.34882,
    "c": 0.03334,
    "h": 93.4
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#403A26
secondary
#505872
accent
#7BC266
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080705
muted
#7B7A79

Preview Lab

Preview with #403A26

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

Preview Lab → · Contrast checker → · Palette generator →

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