#403805#403805

#403805 is a dark, moderate yellow. Relative luminance 0.039; OKLCH L 33.9% C 0.067 H 99.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#403805
RGBrgb(64, 56, 5)
HSLhsl(52, 86%, 14%)
HSVhsv(52, 92%, 25%)
CMYKcmyk(0%, 12.5%, 92.2%, 74.9%)
CIE-LABlab(23.44, -2.76, 30.19)
CIE-LCHlch(23.44, 30.31, 95.22°)
OKLaboklab(33.91% -0.0112 0.0657)
OKLCHoklch(33.91% 0.067 99.7)
XYZxyz(3.5561, 3.9295, 0.7147)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403805 #050D40
analogous
#401A05 #403805 #2A4005
triadic
#403805 #054038 #380540
tetradic
#403805 #05401A #050D40 #40052A
square
#403805 #05401A #050D40 #40052A
split-complementary
#403805 #052A40 #1A0540
monochromatic
#1C1902 #1C1902 #403805 #796A09 #B29B0E

Accessibility & contrast

On white

11.76
#403805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#403805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403805
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403805#FFFFFF#000000##FFFFFF
##4038051.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#413908
Tritanopia (blue-blind)
#46332F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #403805;
/* rgb */ color: rgb(64, 56, 5);
/* oklch */ color: oklch(33.9% 0.067 99.7);
Tailwind
colors: {
  custom: {
    50: '#776e4a',
    500: '#403805',
    950: '#000000',
  },
}
SCSS
$custom: #403805;
$custom-light: #776e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403805",
  "rgb": {
    "r": 64,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 51.864,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.06665,
    "h": 99.7
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#403805
secondary
#202D81
accent
#48FC2C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403805

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

Preview Lab → · Contrast checker → · Palette generator →

#403805 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva