#403D05#403D05

#403D05 is a dark, moderate yellow. Relative luminance 0.044; OKLCH L 35.2% C 0.072 H 106.3°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#403D05
RGBrgb(64, 61, 5)
HSLhsl(57, 86%, 14%)
HSVhsv(57, 92%, 25%)
CMYKcmyk(0%, 4.7%, 92.2%, 74.9%)
CIE-LABlab(25.07, -5.90, 31.79)
CIE-LCHlch(25.07, 32.33, 100.52°)
OKLaboklab(35.21% -0.02 0.0687)
OKLCHoklch(35.21% 0.072 106.3)
XYZxyz(3.8107, 4.4386, 0.7996)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D05 #050840
analogous
#401F05 #403D05 #254005
triadic
#403D05 #05403D #3D0540
tetradic
#403D05 #05401F #050840 #400525
square
#403D05 #05401F #050840 #400525
split-complementary
#403D05 #052540 #1F0540
monochromatic
#1C1B02 #1C1B02 #403D05 #797309 #B2A90E

Accessibility & contrast

On white

11.13
#403D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#403D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403D05
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403D05#FFFFFF#000000##FFFFFF
##403D051.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#463833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403d05;
/* rgb */ color: rgb(64, 61, 5);
/* oklch */ color: oklch(35.2% 0.072 106.3);
Tailwind
colors: {
  custom: {
    50: '#77724b',
    500: '#403d05',
    950: '#000000',
  },
}
SCSS
$custom: #403d05;
$custom-light: #77724b;
$custom-dark: #000000;
JSON
{
  "hex": "#403d05",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 5
  },
  "hsl": {
    "h": 56.949,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.07158,
    "h": 106.3
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#403D05
secondary
#202581
accent
#37FC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403D05

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

Preview Lab → · Contrast checker → · Palette generator →

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