#403A05#403A05

#403A05 is a dark, moderate yellow. Relative luminance 0.041; OKLCH L 34.4% C 0.069 H 102.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#403A05
RGBrgb(64, 58, 5)
HSLhsl(54, 86%, 14%)
HSVhsv(54, 92%, 25%)
CMYKcmyk(0%, 9.4%, 92.2%, 74.9%)
CIE-LABlab(24.09, -4.02, 30.84)
CIE-LCHlch(24.09, 31.10, 97.44°)
OKLaboklab(34.42% -0.0148 0.0669)
OKLCHoklch(34.42% 0.069 102.5)
XYZxyz(3.6550, 4.1272, 0.7477)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403A05 #050B40
analogous
#401C05 #403A05 #284005
triadic
#403A05 #05403A #3A0540
tetradic
#403A05 #05401C #050B40 #400528
square
#403A05 #05401C #050B40 #400528
split-complementary
#403A05 #052840 #1C0540
monochromatic
#1C1A02 #1C1A02 #403A05 #796D09 #B2A10E

Accessibility & contrast

On white

11.50
#403A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#403A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #403A05
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403A05#FFFFFF#000000##FFFFFF
##403A051.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#423A09
Tritanopia (blue-blind)
#463530
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #403a05;
/* rgb */ color: rgb(64, 58, 5);
/* oklch */ color: oklch(34.4% 0.069 102.5);
Tailwind
colors: {
  custom: {
    50: '#776f4b',
    500: '#403a05',
    950: '#000000',
  },
}
SCSS
$custom: #403a05;
$custom-light: #776f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#403a05",
  "rgb": {
    "r": 64,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 53.898,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.06852,
    "h": 102.5
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#403A05
secondary
#202A81
accent
#41FC2C
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403A05

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

Preview Lab → · Contrast checker → · Palette generator →

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