#403F2A#403F2A

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

Color values

HEX#403F2A
RGBrgb(64, 63, 42)
HSLhsl(57, 21%, 21%)
HSVhsv(57, 34%, 25%)
CMYKcmyk(0%, 1.6%, 34.4%, 74.9%)
CIE-LABlab(26.19, -3.57, 13.07)
CIE-LCHlch(26.19, 13.55, 105.27°)
OKLaboklab(36.25% -0.0092 0.0327)
OKLCHoklch(36.25% 0.034 105.7)
XYZxyz(4.3098, 4.8122, 2.8919)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F2A #2A2B40
analogous
#40342A #403F2A #36402A
triadic
#403F2A #2A403F #3F2A40
tetradic
#403F2A #2A4034 #2A2B40 #402A36
square
#403F2A #2A4034 #2A2B40 #402A36
split-complementary
#403F2A #2A3640 #342A40
monochromatic
#12120C #1B1B12 #403F2A #656342 #8A885A

Accessibility & contrast

On white

10.70
#403F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F2A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F2A#FFFFFF#000000##FFFFFF
##403F2A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D29
Deuteranopia (green-blind)
#433E2B
Tritanopia (blue-blind)
#433C3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f2a;
/* rgb */ color: rgb(64, 63, 42);
/* oklch */ color: oklch(36.2% 0.034 105.7);
Tailwind
colors: {
  custom: {
    50: '#757463',
    500: '#403f2a',
    950: '#000000',
  },
}
SCSS
$custom: #403f2a;
$custom-light: #757463;
$custom-dark: #000000;
JSON
{
  "hex": "#403f2a",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 57.273,
    "s": 20.755,
    "l": 20.784
  },
  "oklch": {
    "l": 0.36248,
    "c": 0.03391,
    "h": 105.7
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#403F2A
secondary
#555671
accent
#6EBD6A
background
#F7F7F5
surface
#EDEDEA
border
#C8C8C6
text
#080805
muted
#7B7B79

Preview Lab

Preview with #403F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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