#403E16#403E16

#403E16 is a dark, muted yellow. Relative luminance 0.046; OKLCH L 35.6% C 0.059 H 106.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#403E16
RGBrgb(64, 62, 22)
HSLhsl(57, 49%, 17%)
HSVhsv(57, 66%, 25%)
CMYKcmyk(0%, 3.1%, 65.6%, 74.9%)
CIE-LABlab(25.54, -5.41, 24.38)
CIE-LCHlch(25.54, 24.97, 102.51°)
OKLaboklab(35.63% -0.0165 0.0563)
OKLCHoklch(35.63% 0.059 106.4)
XYZxyz(3.9819, 4.5933, 1.4357)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403E16 #161840
analogous
#402916 #403E16 #2D4016
triadic
#403E16 #16403E #3E1640
tetradic
#403E16 #164029 #161840 #40162D
square
#403E16 #164029 #161840 #40162D
split-complementary
#403E16 #162D40 #291640
monochromatic
#171608 #171608 #403E16 #6E6A26 #9B9635

Accessibility & contrast

On white

10.95
#403E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403E16
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403E16#FFFFFF#000000##FFFFFF
##403E161.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C12
Deuteranopia (green-blind)
#443D18
Tritanopia (blue-blind)
#453A35
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #403e16;
/* rgb */ color: rgb(64, 62, 22);
/* oklch */ color: oklch(35.6% 0.059 106.4);
Tailwind
colors: {
  custom: {
    50: '#767355',
    500: '#403e16',
    950: '#000000',
  },
}
SCSS
$custom: #403e16;
$custom-light: #767355;
$custom-dark: #000000;
JSON
{
  "hex": "#403e16",
  "rgb": {
    "r": 64,
    "g": 62,
    "b": 22
  },
  "hsl": {
    "h": 57.143,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.05869,
    "h": 106.4
  },
  "luminance": 0.04593
}

Semantic roles & 50–950 ramp

primary
#403E16
secondary
#3B3D77
accent
#56D84F
background
#F7F6F5
surface
#EDECE8
border
#C8C7C4
text
#090803
muted
#7B7B78

Preview Lab

Preview with #403E16

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

Preview Lab → · Contrast checker → · Palette generator →

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