#403D03#403D03

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

Color values

HEX#403D03
RGBrgb(64, 61, 3)
HSLhsl(57, 91%, 13%)
HSVhsv(57, 95%, 25%)
CMYKcmyk(0%, 4.7%, 95.3%, 74.9%)
CIE-LABlab(25.06, -6.01, 32.59)
CIE-LCHlch(25.06, 33.14, 100.45°)
OKLaboklab(35.19% -0.0206 0.0701)
OKLCHoklch(35.19% 0.073 106.4)
XYZxyz(3.7997, 4.4342, 0.7419)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#403D03 #030640
analogous
#401E03 #403D03 #244003
triadic
#403D03 #03403D #3D0340
tetradic
#403D03 #03401E #030640 #400324
square
#403D03 #03401E #030640 #400324
split-complementary
#403D03 #032440 #1E0340
monochromatic
#1D1C01 #1D1C01 #403D03 #7A7506 #B5AC08

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##403D03#FFFFFF#000000##FFFFFF
##403D031.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)
#453C08
Tritanopia (blue-blind)
#463833
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #403d03;
/* rgb */ color: rgb(64, 61, 3);
/* oklch */ color: oklch(35.2% 0.073 106.4);
Tailwind
colors: {
  custom: {
    50: '#78724a',
    500: '#403d03',
    950: '#000000',
  },
}
SCSS
$custom: #403d03;
$custom-light: #78724a;
$custom-dark: #000000;
JSON
{
  "hex": "#403d03",
  "rgb": {
    "r": 64,
    "g": 61,
    "b": 3
  },
  "hsl": {
    "h": 57.049,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.35189,
    "c": 0.07302,
    "h": 106.4
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#403D03
secondary
#1D2282
accent
#33FF29
background
#F7F6F4
surface
#EDECE7
border
#C8C7C3
text
#090701
muted
#7B7A77

Preview Lab

Preview with #403D03

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

Preview Lab → · Contrast checker → · Palette generator →

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