#403F28#403F28

#403F28 is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.2% C 0.037 H 106.0°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#403F28
RGBrgb(64, 63, 40)
HSLhsl(58, 23%, 20%)
HSVhsv(58, 38%, 25%)
CMYKcmyk(0%, 1.6%, 37.5%, 74.9%)
CIE-LABlab(26.15, -3.88, 14.30)
CIE-LCHlch(26.15, 14.81, 105.17°)
OKLaboklab(36.2% -0.0101 0.0355)
OKLCHoklch(36.2% 0.037 106)
XYZxyz(4.2749, 4.7983, 2.7080)
Luminance0.0480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F28 #282940
analogous
#403328 #403F28 #354028
triadic
#403F28 #28403F #3F2840
tetradic
#403F28 #284033 #282940 #402835
square
#403F28 #284033 #282940 #402835
split-complementary
#403F28 #283540 #332840
monochromatic
#13130C #1A1A10 #403F28 #666440 #8B8957

Accessibility & contrast

On white

10.72
#403F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#403F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F28
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F28#FFFFFF#000000##FFFFFF
##403F281.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D26
Deuteranopia (green-blind)
#433E29
Tritanopia (blue-blind)
#433C39
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f28;
/* rgb */ color: rgb(64, 63, 40);
/* oklch */ color: oklch(36.2% 0.037 106.0);
Tailwind
colors: {
  custom: {
    50: '#757362',
    500: '#403f28',
    950: '#000000',
  },
}
SCSS
$custom: #403f28;
$custom-light: #757362;
$custom-dark: #000000;
JSON
{
  "hex": "#403f28",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 57.5,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.03687,
    "h": 106
  },
  "luminance": 0.04798
}

Semantic roles & 50–950 ramp

primary
#403F28
secondary
#525372
accent
#6CC068
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403F28

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

Preview Lab → · Contrast checker → · Palette generator →

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