#403C05#403C05

#403C05 is a dark, moderate yellow. Relative luminance 0.043; OKLCH L 34.9% C 0.071 H 105.1°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#403C05
RGBrgb(64, 60, 5)
HSLhsl(56, 86%, 14%)
HSVhsv(56, 92%, 25%)
CMYKcmyk(0%, 6.2%, 92.2%, 74.9%)
CIE-LABlab(24.74, -5.28, 31.48)
CIE-LCHlch(24.74, 31.92, 99.52°)
OKLaboklab(34.94% -0.0183 0.0681)
OKLCHoklch(34.94% 0.071 105.1)
XYZxyz(3.7578, 4.3328, 0.7819)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C05 #050940
analogous
#401E05 #403C05 #264005
triadic
#403C05 #05403C #3C0540
tetradic
#403C05 #05401E #050940 #400526
square
#403C05 #05401E #050940 #400526
split-complementary
#403C05 #052640 #1E0540
monochromatic
#1C1B02 #1C1B02 #403C05 #797109 #B2A60E

Accessibility & contrast

On white

11.25
#403C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#403C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403C05
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C05#FFFFFF#000000##FFFFFF
##403C051.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#443C09
Tritanopia (blue-blind)
#463732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c05;
/* rgb */ color: rgb(64, 60, 5);
/* oklch */ color: oklch(34.9% 0.071 105.1);
Tailwind
colors: {
  custom: {
    50: '#77714b',
    500: '#403c05',
    950: '#000000',
  },
}
SCSS
$custom: #403c05;
$custom-light: #77714b;
$custom-dark: #000000;
JSON
{
  "hex": "#403c05",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 55.932,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34943,
    "c": 0.07053,
    "h": 105.1
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#403C05
secondary
#202781
accent
#3AFC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C05

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

Preview Lab → · Contrast checker → · Palette generator →

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