#403C04#403C04

#403C04 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#403C04
RGBrgb(64, 60, 4)
HSLhsl(56, 88%, 13%)
HSVhsv(56, 94%, 25%)
CMYKcmyk(0%, 6.2%, 93.8%, 74.9%)
CIE-LABlab(24.74, -5.33, 31.88)
CIE-LCHlch(24.74, 32.32, 99.50°)
OKLaboklab(34.94% -0.0186 0.0688)
OKLCHoklch(34.94% 0.071 105.1)
XYZxyz(3.7523, 4.3306, 0.7531)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C04 #040840
analogous
#401E04 #403C04 #264004
triadic
#403C04 #04403C #3C0440
tetradic
#403C04 #04401E #040840 #400426
square
#403C04 #04401E #040840 #400426
split-complementary
#403C04 #042640 #1E0440
monochromatic
#1D1B02 #1D1B02 #403C04 #7A7208 #B3A80B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403C04#FFFFFF#000000##FFFFFF
##403C041.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)
#443C08
Tritanopia (blue-blind)
#463732
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403c04;
/* rgb */ color: rgb(64, 60, 4);
/* oklch */ color: oklch(34.9% 0.071 105.1);
Tailwind
colors: {
  custom: {
    50: '#78714a',
    500: '#403c04',
    950: '#000000',
  },
}
SCSS
$custom: #403c04;
$custom-light: #78714a;
$custom-dark: #000000;
JSON
{
  "hex": "#403c04",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 4
  },
  "hsl": {
    "h": 56,
    "s": 88.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.34935,
    "c": 0.07125,
    "h": 105.1
  },
  "luminance": 0.0433
}

Semantic roles & 50–950 ramp

primary
#403C04
secondary
#1F2581
accent
#38FE29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C04

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

Preview Lab → · Contrast checker → · Palette generator →

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