#403F2D#403F2D

#403F2D is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.3% C 0.029 H 105.1°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#403F2D
RGBrgb(64, 63, 45)
HSLhsl(57, 17%, 21%)
HSVhsv(57, 30%, 25%)
CMYKcmyk(0%, 1.6%, 29.7%, 74.9%)
CIE-LABlab(26.26, -3.08, 11.23)
CIE-LCHlch(26.26, 11.65, 105.36°)
OKLaboklab(36.32% -0.0076 0.0283)
OKLCHoklch(36.32% 0.029 105.1)
XYZxyz(4.3655, 4.8345, 3.1853)
Luminance0.0483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F2D #2D2E40
analogous
#40362D #403F2D #38402D
triadic
#403F2D #2D403F #3F2D40
tetradic
#403F2D #2D4036 #2D2E40 #402D38
square
#403F2D #2D4036 #2D2E40 #402D38
split-complementary
#403F2D #2D3840 #362D40
monochromatic
#12120D #1C1C14 #403F2D #646246 #888660

Accessibility & contrast

On white

10.68
#403F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#403F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403F2D
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F2D#FFFFFF#000000##FFFFFF
##403F2D1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423E2C
Deuteranopia (green-blind)
#433F2E
Tritanopia (blue-blind)
#433D3A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f2d;
/* rgb */ color: rgb(64, 63, 45);
/* oklch */ color: oklch(36.3% 0.029 105.1);
Tailwind
colors: {
  custom: {
    50: '#757466',
    500: '#403f2d',
    950: '#000000',
  },
}
SCSS
$custom: #403f2d;
$custom-light: #757466;
$custom-dark: #000000;
JSON
{
  "hex": "#403f2d",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 45
  },
  "hsl": {
    "h": 56.842,
    "s": 17.431,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.02934,
    "h": 105.1
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#403F2D
secondary
#585971
accent
#72BA6E
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080805
muted
#7B7B7A

Preview Lab

Preview with #403F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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