#403C03#403C03

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

Color values

HEX#403C03
RGBrgb(64, 60, 3)
HSLhsl(56, 91%, 13%)
HSVhsv(56, 95%, 25%)
CMYKcmyk(0%, 6.2%, 95.3%, 74.9%)
CIE-LABlab(24.73, -5.39, 32.28)
CIE-LCHlch(24.73, 32.72, 99.48°)
OKLaboklab(34.93% -0.0189 0.0695)
OKLCHoklch(34.93% 0.072 105.2)
XYZxyz(3.7468, 4.3284, 0.7242)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403C03 #030740
analogous
#401D03 #403C03 #254003
triadic
#403C03 #03403C #3C0340
tetradic
#403C03 #03401D #030740 #400325
square
#403C03 #03401D #030740 #400325
split-complementary
#403C03 #032540 #1D0340
monochromatic
#1D1B01 #1D1B01 #403C03 #7A7306 #B5AA08

Accessibility & contrast

On white

11.26
#403C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #403C03
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##403C03#FFFFFF#000000##FFFFFF
##403C031.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #403c03;
/* rgb */ color: rgb(64, 60, 3);
/* oklch */ color: oklch(34.9% 0.072 105.2);
Tailwind
colors: {
  custom: {
    50: '#78714a',
    500: '#403c03',
    950: '#000000',
  },
}
SCSS
$custom: #403c03;
$custom-light: #78714a;
$custom-dark: #000000;
JSON
{
  "hex": "#403c03",
  "rgb": {
    "r": 64,
    "g": 60,
    "b": 3
  },
  "hsl": {
    "h": 56.066,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.07198,
    "h": 105.2
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#403C03
secondary
#1D2382
accent
#37FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403C03

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

Preview Lab → · Contrast checker → · Palette generator →

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