#403E22#403E22

#403E22 is a dark, muted yellow. Relative luminance 0.047; OKLCH L 35.8% C 0.044 H 104.8°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#403E22
RGBrgb(64, 62, 34)
HSLhsl(56, 31%, 19%)
HSVhsv(56, 47%, 25%)
CMYKcmyk(0%, 3.1%, 46.9%, 74.9%)
CIE-LABlab(25.72, -4.09, 17.50)
CIE-LCHlch(25.72, 17.98, 103.14°)
OKLaboklab(35.82% -0.0113 0.0425)
OKLCHoklch(35.82% 0.044 104.8)
XYZxyz(4.1258, 4.6508, 2.1934)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E22 #222440
analogous
#402F22 #403E22 #334022
triadic
#403E22 #22403E #3E2240
tetradic
#403E22 #22402F #222440 #402233
square
#403E22 #22402F #222440 #402233
split-complementary
#403E22 #223340 #2F2240
monochromatic
#14130B #18170D #403E22 #686537 #908B4C

Accessibility & contrast

On white

10.88
#403E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#403E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E22
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E22#FFFFFF#000000##FFFFFF
##403E221.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C20
Deuteranopia (green-blind)
#433E23
Tritanopia (blue-blind)
#443B37
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e22;
/* rgb */ color: rgb(64, 62, 34);
/* oklch */ color: oklch(35.8% 0.044 104.8);
Tailwind
colors: {
  custom: {
    50: '#75735d',
    500: '#403e22',
    950: '#000000',
  },
}
SCSS
$custom: #403e22;
$custom-light: #75735d;
$custom-dark: #000000;
JSON
{
  "hex": "#403e22",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 34
  },
  "hsl": {
    "h": 56,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.35819,
    "c": 0.04399,
    "h": 104.8
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#403E22
secondary
#4B4D73
accent
#68C761
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#080804
muted
#7B7B79

Preview Lab

Preview with #403E22

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

Preview Lab → · Contrast checker → · Palette generator →

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