#403E2F#403E2F

#403E2F is a dark, muted yellow. Relative luminance 0.047; OKLCH L 36.1% C 0.025 H 101.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#403E2F
RGBrgb(64, 62, 47)
HSLhsl(53, 15%, 22%)
HSVhsv(53, 27%, 25%)
CMYKcmyk(0%, 3.1%, 26.6%, 74.9%)
CIE-LABlab(25.98, -2.11, 9.56)
CIE-LCHlch(25.98, 9.79, 102.43°)
OKLaboklab(36.12% -0.0048 0.0243)
OKLCHoklch(36.12% 0.025 101.2)
XYZxyz(4.3501, 4.7405, 3.3746)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E2F #2F3140
analogous
#40362F #403E2F #3A402F
triadic
#403E2F #2F403E #3E2F40
tetradic
#403E2F #2F4036 #2F3140 #402F3A
square
#403E2F #2F4036 #2F3140 #402F3A
split-complementary
#403E2F #2F3A40 #362F40
monochromatic
#12110D #1D1C15 #403E2F #636049 #878263

Accessibility & contrast

On white

10.78
#403E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#403E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E2F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E2F#FFFFFF#000000##FFFFFF
##403E2F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2E
Deuteranopia (green-blind)
#423E30
Tritanopia (blue-blind)
#433C3A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e2f;
/* rgb */ color: rgb(64, 62, 47);
/* oklch */ color: oklch(36.1% 0.025 101.2);
Tailwind
colors: {
  custom: {
    50: '#757367',
    500: '#403e2f',
    950: '#000000',
  },
}
SCSS
$custom: #403e2f;
$custom-light: #757367;
$custom-dark: #000000;
JSON
{
  "hex": "#403e2f",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 47
  },
  "hsl": {
    "h": 52.941,
    "s": 15.315,
    "l": 21.765
  },
  "oklch": {
    "l": 0.36118,
    "c": 0.02478,
    "h": 101.2
  },
  "luminance": 0.0474
}

Semantic roles & 50–950 ramp

primary
#403E2F
secondary
#5B5D70
accent
#78B870
background
#F7F6F6
surface
#EDECEB
border
#C8C7C6
text
#080806
muted
#7B7B7A

Preview Lab

Preview with #403E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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