#403705#403705

#403705 is a dark, moderate yellow. Relative luminance 0.038; OKLCH L 33.6% C 0.066 H 98.3°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#403705
RGBrgb(64, 55, 5)
HSLhsl(51, 86%, 14%)
HSVhsv(51, 92%, 25%)
CMYKcmyk(0%, 14.1%, 92.2%, 74.9%)
CIE-LABlab(23.11, -2.12, 29.86)
CIE-LCHlch(23.11, 29.93, 94.06°)
OKLaboklab(33.65% -0.0094 0.0651)
OKLCHoklch(33.65% 0.066 98.3)
XYZxyz(3.5081, 3.8335, 0.6987)
Luminance0.0383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403705 #050E40
analogous
#401905 #403705 #2B4005
triadic
#403705 #054037 #370540
tetradic
#403705 #054019 #050E40 #40052B
square
#403705 #054019 #050E40 #40052B
split-complementary
#403705 #052B40 #190540
monochromatic
#1C1802 #1C1802 #403705 #796809 #B2990E

Accessibility & contrast

On white

11.89
#403705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#403705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403705
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403705#FFFFFF#000000##FFFFFF
##4037051.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#403808
Tritanopia (blue-blind)
#46322E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #403705;
/* rgb */ color: rgb(64, 55, 5);
/* oklch */ color: oklch(33.6% 0.066 98.3);
Tailwind
colors: {
  custom: {
    50: '#786d4a',
    500: '#403705',
    950: '#000000',
  },
}
SCSS
$custom: #403705;
$custom-light: #786d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#403705",
  "rgb": {
    "r": 64,
    "g": 55,
    "b": 5
  },
  "hsl": {
    "h": 50.847,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33648,
    "c": 0.06576,
    "h": 98.3
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#403705
secondary
#202F81
accent
#4CFC2C
background
#F7F6F4
surface
#EDEBE7
border
#C8C6C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403705

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

Preview Lab → · Contrast checker → · Palette generator →

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