#403E26#403E26

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

Color values

HEX#403E26
RGBrgb(64, 62, 38)
HSLhsl(55, 25%, 20%)
HSVhsv(55, 41%, 25%)
CMYKcmyk(0%, 3.1%, 40.6%, 74.9%)
CIE-LABlab(25.79, -3.54, 15.09)
CIE-LCHlch(25.79, 15.50, 103.20°)
OKLaboklab(35.9% -0.0093 0.0372)
OKLCHoklch(35.9% 0.038 104.1)
XYZxyz(4.1869, 4.6753, 2.5152)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E26 #262840
analogous
#403126 #403E26 #354026
triadic
#403E26 #26403E #3E2640
tetradic
#403E26 #264031 #262840 #402635
square
#403E26 #264031 #262840 #402635
split-complementary
#403E26 #263540 #312640
monochromatic
#13130B #1A190F #403E26 #66633D #8D8854

Accessibility & contrast

On white

10.85
#403E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E26
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E26#FFFFFF#000000##FFFFFF
##403E261.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C24
Deuteranopia (green-blind)
#433E27
Tritanopia (blue-blind)
#443B38
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e26;
/* rgb */ color: rgb(64, 62, 38);
/* oklch */ color: oklch(35.9% 0.038 104.1);
Tailwind
colors: {
  custom: {
    50: '#757360',
    500: '#403e26',
    950: '#000000',
  },
}
SCSS
$custom: #403e26;
$custom-light: #757360;
$custom-dark: #000000;
JSON
{
  "hex": "#403e26",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 38
  },
  "hsl": {
    "h": 55.385,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.35901,
    "c": 0.03836,
    "h": 104.1
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#403E26
secondary
#505272
accent
#6DC266
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403E26

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

Preview Lab → · Contrast checker → · Palette generator →

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