#403E18#403E18

#403E18 is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.7% C 0.056 H 106.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#403E18
RGBrgb(64, 62, 24)
HSLhsl(57, 45%, 17%)
HSVhsv(57, 63%, 25%)
CMYKcmyk(0%, 3.1%, 62.5%, 74.9%)
CIE-LABlab(25.57, -5.22, 23.29)
CIE-LCHlch(25.57, 23.87, 102.64°)
OKLaboklab(35.65% -0.0157 0.0543)
OKLCHoklch(35.65% 0.056 106.2)
XYZxyz(4.0020, 4.6013, 1.5413)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E18 #181A40
analogous
#402A18 #403E18 #2E4018
triadic
#403E18 #18403E #3E1840
tetradic
#403E18 #18402A #181A40 #40182E
square
#403E18 #18402A #181A40 #40182E
split-complementary
#403E18 #182E40 #2A1840
monochromatic
#161608 #161608 #403E18 #6D6929 #999439

Accessibility & contrast

On white

10.94
#403E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#403E18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403E18
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E18#FFFFFF#000000##FFFFFF
##403E181.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#443D1A
Tritanopia (blue-blind)
#453A36
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e18;
/* rgb */ color: rgb(64, 62, 24);
/* oklch */ color: oklch(35.7% 0.056 106.2);
Tailwind
colors: {
  custom: {
    50: '#767356',
    500: '#403e18',
    950: '#000000',
  },
}
SCSS
$custom: #403e18;
$custom-light: #767356;
$custom-dark: #000000;
JSON
{
  "hex": "#403e18",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 24
  },
  "hsl": {
    "h": 57,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.05649,
    "h": 106.2
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#403E18
secondary
#3D4077
accent
#59D553
background
#F7F6F5
surface
#EDECE9
border
#C8C7C5
text
#090803
muted
#7B7B78

Preview Lab

Preview with #403E18

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

Preview Lab → · Contrast checker → · Palette generator →

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