#403F22#403F22

#403F22 is a dark, muted yellow. Relative luminance 0.048; OKLCH L 36.1% C 0.045 H 106.7°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#403F22
RGBrgb(64, 63, 34)
HSLhsl(58, 31%, 19%)
HSVhsv(58, 47%, 25%)
CMYKcmyk(0%, 1.6%, 46.9%, 74.9%)
CIE-LABlab(26.04, -4.72, 17.92)
CIE-LCHlch(26.04, 18.53, 104.75°)
OKLaboklab(36.08% -0.0131 0.0435)
OKLCHoklch(36.08% 0.045 106.7)
XYZxyz(4.1807, 4.7606, 2.2117)
Luminance0.0476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403F22 #222340
analogous
#403022 #403F22 #324022
triadic
#403F22 #22403F #3F2240
tetradic
#403F22 #224030 #222340 #402232
square
#403F22 #224030 #222340 #402232
split-complementary
#403F22 #223240 #302240
monochromatic
#14140B #18180D #403F22 #686637 #908E4C

Accessibility & contrast

On white

10.76
#403F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403F22
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403F22#FFFFFF#000000##FFFFFF
##403F221.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D20
Deuteranopia (green-blind)
#443E23
Tritanopia (blue-blind)
#443C38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #403f22;
/* rgb */ color: rgb(64, 63, 34);
/* oklch */ color: oklch(36.1% 0.045 106.7);
Tailwind
colors: {
  custom: {
    50: '#75735d',
    500: '#403f22',
    950: '#000000',
  },
}
SCSS
$custom: #403f22;
$custom-light: #75735d;
$custom-dark: #000000;
JSON
{
  "hex": "#403f22",
  "rgb": {
    "r": 64,
    "g": 63,
    "b": 34
  },
  "hsl": {
    "h": 58,
    "s": 30.612,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.04537,
    "h": 106.7
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

primary
#403F22
secondary
#4B4C73
accent
#64C761
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#080804
muted
#7B7B79

Preview Lab

Preview with #403F22

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

Preview Lab → · Contrast checker → · Palette generator →

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